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 - Modules, packages, scripting - Basic input and output
-
01 – Project organization - Packages, modules and scripts - Installation information
-
02 – Python versions and 3.x and 2.x differences - Future features
-
03 – Functions, argument list, argument dictionary – Decorators, closures and nonlocal
-
04 – Generators and iterators - Iterators - Generators - Generator, list and dictionary comprehensions
-
05 – Classes, methods, attributes – Special methods, class and static methods - Case study: Roman numbers - Unit testing
-
06 - Persistence
-
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
-
? list comprehensions
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.