Python for Programmers
A fast track into Python for people who already code in another language: syntax, types, control flow, functions, object-oriented Python and the built-in data structures, with the idioms that make code Pythonic.
- Intermediate level
- 6 modules
- 30 lessons
- 122 tasks and questions
Syllabus
01Getting startedHow Python programs are structured, the style conventions the community expects, and printing, formatting and reading input.4 lessons
02Basic syntaxNames and objects, the built-in scalar types and their quirks, and the operators that differ from C-family languages.4 lessons
03Control flowBranching with if and match, for-each loops and the iteration built-ins, loop else, and exception handling the Pythonic way.5 lessons
04FunctionsFunction definitions, defaults and their pitfalls, every kind of parameter, functions as values, closures and recursion.5 lessons
05Object-oriented PythonClasses the Python way: explicit self, dataclasses, construction and cleanup, encapsulation by convention and properties, inheritance, duck typing and special methods.6 lessons
06Built-in data structuresStrings, lists, tuples, dictionaries and sets in depth, plus stacks, queues and priority queues from the standard library.6 lessons