Python¶
This is a collection of Python topics that have been translated from
the good old PDF material
(which is now defunct).
The Python collection is extended continuously with new material, and is managed using OpenTraining.
Group Description¶
Blahblah (python.basics.python_0110_blahblah)
Hello World (python.basics.python_0120_helloworld)
Syntax etc. (python.basics.python_0130_syntax_etc)
Variables (python.basics.python_0140_variables)
Datatypes (python.basics.python_0150_datatypes_overview)
Compound Datatypes (python.basics.python_0150_datatypes_overview_compound)
Sequential Datatypes (python.basics.python_0200_sequential_types)
Boolean (python.basics.python_0160_boolean)
The if Statement (python.basics.python_0170_if)
while Loops (python.basics.python_0193_while)
for Loops (python.basics.python_0220_for)
More on Dictionaries (python.basics.python_0450_dictionaries)
Functions (python.basics.python_0270_functions)
Object Oriented Programming (python.swdev.python_1050_oo)
Modules and Packages (python.swdev.python_1200_modules)
The unittest Module (python.swdev.python_5600_unittest)
Iteration, Comprehensions, and Generators (python.iteration_generation)
More on Lists (python.basics.python_0400_lists)
References, (Im)mutability (python.basics.python_0250_refs_flat_deep_copy)
More About Strings (python.basics.python_0300_strings)
Strings and Encoding (python.basics.python_0330_strings_encoding)
File I/O (python.basics.python_0500_files)
Encoding (python.drafts.encoding)
Python Installation (python.drafts.installation)
The import Statement (incomplete) (python.drafts.import)
Python Package Index (python.drafts.pip)
Virtual Environments (python.drafts.venv)
MQTT (python.drafts.mqtt)
The range Function (python.basics.python_0225_range)
Iteration, and Generators: the yield Keyword (python.python_1010_generators_yield)
Exercise: Generators (python.python_1011_generators_yield_exercise)
Exercise: Greeting, Depending on Time of Day (python.basics.exercises.greeting)
More on Sets (python.basics.python_0460_sets)
Duck Typing vs. Strong Typing (incomplete) (python.drafts.duck_typing)
Exercises: Even Numbers (while) (python.basics.exercises.while_even_numbers)
Exercises: Primeness (while) (python.basics.exercises.while_primeness)
Exercises: Lists, Loops, Functions (python.basics.exercises.python_0275_exercises)
Machine Learning: Concepts and Terminology (python.drafts.ai.machine_learning_intro)
Linear Regression (python.drafts.ai.linear_regression)
K-Means (python.drafts.ai.k_means)
Exercise: Primeness (for) (python.basics.exercises.for_primeness)
Exercise: Determine Maximum of Two Numbers (python.basics.exercises.max_numbers)
Exercise: Determine Maximum of Two Numbers (Function) (python.basics.exercises.max_numbers_function)
Exercise: Primeness (Function) (python.basics.exercises.function_primeness)
DBAPI 2 (python.db.python_5500_dbapi2)
DBAPI 2: sqlite3 (python.db.python_5510_dbapi2_sqlite3)
DBAPI 2: PostgreSQL (python.db.python_5520_dbapi2_postgres)
Exercise: Username/Password Check (python.basics.exercises.username_password)
String Formatting (python.basics.python_0310_strings_formatting)
Miscellaneous String Methods (python.basics.python_0320_strings_methods)
Exercises: Strings (python.basics.exercises.python_0350_exercises)
Exercises: Strings, Files, … (python.basics.exercises.python_0510_exercises_strings_and_files)
Closures (python.drafts.closures)
Positional and Keyword Arguments (python.drafts.starargs)
Special Methods, Operator Overloading (incomplete) (python.drafts.special_methods)
Decorators (python.drafts.decorators)
Exception Handling (python.swdev.python_1100_exceptions)
Exception Handling (incomplete) (python.drafts.exceptions)
Context Managers (the with Statement) (incomplete) (python.drafts.context_manager)
XML: ElementTree (etree) (python.python_5550_xml_etree)
Visual Studio Code for Python Programming (python.drafts.vscode)
Indexing and Slicing (python.basics.python_0210_indexing_slicing)
Function Objects (python.basics.python_1000_function_objects)