Python I (2 days)
-
00 – About Python
-
01 – Interactive interpreter
-
02 – Variables, objects, identity, assignment - Basic data types - Composite data types
-
03 – Basic input/output and string formatting
-
04 – Executable scripts, modules and packages
-
05 – Control flow (loops, conditions, exceptions)
-
06 – Input, output, file access, internationalization, unicode
-
07 – Functions, local variables
-
08 – Classes, instances, attributes, methods
-
09 – Constructors and inheritance
-
10 – Standard library bits
-
11 – Available literature
Python II (3 days)
-
00 – Overview of topics from previous course - Variables, identity, assignment, data types - Scripting, modules, packages
-
01 – Python versions and 3.x and 2.x differences - Future features
-
? list comprehensions
-
02 – Packages, modules, import/import
-
03 – Functions, argument list, argument dictionary
-
04 – Inline documentation
-
05 – Classes, methods, attributes
-
06 – Special methods, class and static methods
-
07 – Decorators, closures and nonlocal
-
08 – Generators and iterators
-
HTTP application options
-
Custom exceptions
-
Logging and debugging
-
Text processing using regular expressions
-
Command line argument parsing
-
Date and time handling
-
Database system access
-
Dynamic code generation
-
Parallel programming, threads and processes
-
Available literature
Notes:
- I work on linux distributions where python works natively without any specific installation or configuration procedure. Windows and Mac users should have their python installations ready for the training.
- We will be using python 3.3/3.4 for the training and discuss differences in python 2.7, unless requested otherwise in advance.
- Using an IDE is not part of the training unless a specific one is requested in advance. A basic text editor suitable for programming and a terminal window are all that you need.
- Altering the course to fit your needs is possible and encouraged.