In this post I explain try, except, else, finally, raise, assert, and the most common Python exceptions.
Read articleBlog
Indexes
In this post I explain modules, import forms, packages, __name__, __all__, caching, and circular imports in Python.
Read articleFiles in Python
DraftIn this post I explain open(), with, file modes, reading, writing, seek(), tell(), and binary files in Python.
Read articleIn this post I explain print(), input(), string formatting, and reading multiple values in Python.
Read articleIn this post I explain Python collections: list, tuple, set, dict, and useful structures from the collections module.
Read articleFunctions in Python
DraftIn this post I explain Python functions: how to define them, call them, pass arguments, and how Python objects and references behave.
Read articleIn this post I explain the Python for loop, range(), break, continue, else, and nested loops.
Read articleIn this post I explain pointers, functions, the preprocessor, structures, and dynamic memory in C, from core rules to practical safe-code patterns.
Read articleIn this post I explain the core constructs of the C language: variables, types, operators, conditions, loops, arrays, strings, and console input/output.
Read articleIn this post I explain the C language, the main GCC build stages, and useful GCC flags.
Read articleIn this post I explain sets, equality, subsets, unions, intersections, differences, and basic set theorems.
Read articleIn this post I explain the Python while loop, including break, continue, else, and nested loops.
Read articleIn this post I explain the Python if statement, indentation, elif, else, and logical operators.
Read articleIn this post I explain how variables work in Python and how names refer to objects.
Read articleIn this post I explain quotes, escaping, concatenation, and repetition for Python strings.
Read articleIn this post I explain the main number types in Python and the basic arithmetic operators.
Read articleIn this post I explain how to install Python and set up a working environment on your computer.
Read article