summaryrefslogtreecommitdiff
path: root/basic_python/module_plan.rst
blob: e4d1cbddd6d71915fc1ff216caf592ce3a8983ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Basic Python
============

Module Objectives
-----------------

After successfully completing this module a participant will be able to:

* Write Python scripts to perform simple string processing or
  mathematical tasks                                            {Ap}
* Read and understand simple procedural Python programs         {Ap}

+---------+------------------------------+----------+
| Session | Topic                        | Duration |
+---------+------------------------------+----------+
|    1    | Introduction to Python       | 5 min    |
|         |                              |          |
|         | Python Interpreter           | 20 min   |
|         | - getting started            |          |
|         | - IPython introduction       |          |
|         |                              |          |
|         | Basic Data-types             | 25 min   |
|         | - Numbers                    |          |
|         | - Booleans                   |          |
|         | - Sequences                  |          |
|         |                              |          |
+---------+------------------------------+----------+
|    2    | Strings                      | 20 min   |
|         | - Creation                   |          |
|         | - Operations                 |          |
|         | - Accessing elements         |          |
|         | - immutability               |          |
|         | - methods                    |          |
|         |                              |          |
|         | Conditionals                 | 10 min   |
|         | - if, if-else, if-elif-else  |          |
|         | - Ternary operator           |          |
|         | - pass                       |          |
|         |                              |          |
|         | Loops                        | 10 min   |
|         | - while                      |          |
|         | - for                        |          |
|         |                              |          |
|         | Lists                        | 20 min   |
|         | - Creation                   |          |
|         | - Operations                 |          |
|         | - Accessing elements         |          |
|         | - adding & removing          |          |
|         | - sorting                    |          |
+---------+------------------------------+----------+
|    3    | I/O                          | 10 min   |
|         | - print x & print x,         |          |
|         | - string formatting          |          |
|         | - raw_input                  |          |
|         |                              |          |
|         | Files                        | 20 min   |
|         | - opening                    |          |
|         | - reading                    |          |
|         | - tokenization               |          |
|         |                              |          |
|         | Functions                    | 30 min   |
|         | - definition                 |          |
|         | - doc-strings                |          |
|         | - code reading               |          |
|         | - default arguments          |          |
|         | - keyword arguments          |          |
|         | - variable scope             |          |
+---------+------------------------------+----------+
|    4    | Tuples                       | 10 min   |
|         | - packing, unpacking         |          |
|         | - swapping                   |          |
|         |                              |          |
|         | Dictionaries                 | 15 min   |
|         | - creating                   |          |
|         | - Accessing elements         |          |
|         | - Adding & removing elements |          |
|         | - containership              |          |
|         | - keys and values            |          |
|         |                              |          |
|         | Sets                         | 10 min   |
|         | - creating                   |          |
|         | - operations                 |          |
+---------+------------------------------+----------+