A complete guide to string manipulation in Python — built-in str methods, the string module, modern f-string formatting techniques, and common text processing patterns.
A complete guide to input/output operations in Python — reading and writing text and binary files, file system navigation with pathlib and os, and using the csv and json modules.
A complete guide to numerical computing in Python — the math module for general mathematical operations, decimal for high precision, fractions for rational numbers, and statistics for basic data analysis.
A complete guide to the collections module in Python — Counter for counting frequencies, defaultdict for dicts with default values, deque for efficient queues, namedtuple for structured data, and OrderedDict.
A complete guide to the logging system in Python — log levels, handlers, formatters, per-module logger configuration, logging to files and console simultaneously, and correct logging patterns for production applications.
A complete guide to random number generation in Python — the random module for simulation and testing, the secrets module for cryptographic security, and the fundamental difference in when to use each.
A complete guide to the itertools and functools modules in Python — combinations, permutations, groupby, chain, islice for efficient iteration, plus partial, lru_cache, and reduce for functional programming.
A complete guide to the typing and dataclasses modules in Python — type hints, Generic, Protocol, TypeVar, the dataclass decorator, field(), and how to write safer, more expressive Python code.