Blog

Python tutorials and tips on the Academify blog. Learn programming with examples, exercises, and projects from basic to advanced

A developer typing code on a laptop with a Python book beside in an office.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python linecache: Read Source Lines

Learn Python linecache to retrieve source lines, refresh cached files, support tracebacks and loaders, preserve indentation, and secure paths.

Read more

Reading time: 7 minutes
August 27, 2026
A developer typing code on a laptop with a Python book beside in an office.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python faulthandler: Diagnose Crashes

Learn Python faulthandler to diagnose crashes, deadlocks, fatal signals, timeouts, and hangs with stack dumps from every thread.

Read more

Reading time: 8 minutes
August 27, 2026
Detailed view of programming code in a dark theme on a computer screen.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python symtable: Analyze Name Scopes

Learn Python symtable to analyze scopes, locals, globals, parameters, imports, nonlocals, closures, and compiler namespaces.

Read more

Reading time: 9 minutes
August 27, 2026
A close-up shot showcasing the intricate scales of a snake, highlighting texture and color.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python dis: Understand Bytecode

Learn Python dis to inspect bytecode instructions, jumps, stack effects, adaptive caches, and optimizations without relying on unstable internals.

Read more

Reading time: 6 minutes
August 27, 2026
A developer typing code on a laptop with a Python book beside in an office.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python tokenize: Read Source Code Tokens

Learn Python tokenize to read tokens, comments, encodings, indentation, and positions, then transform and rebuild source safely.

Read more

Reading time: 6 minutes
August 27, 2026
High-angle view of woman coding on a laptop, with a Python book nearby. Ideal for programming and tech content.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python zipapp: Build Executable .pyz Files

Learn Python zipapp to build .pyz files, define entry points, bundle pure dependencies, handle resources, and distribute secure CLI tools.

Read more

Reading time: 6 minutes
August 27, 2026
Close-up view of a computer screen displaying code in a software development environment.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python sysconfig: Paths and Build Info

Learn Python sysconfig to inspect paths, schemes, headers, compiler flags, ABI details, native extensions, and virtual environments.

Read more

Reading time: 6 minutes
August 27, 2026
A person in a hoodie coding on dual monitors, depicting cybersecurity and hacking themes.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python marshal: Internal Binary Format

Learn Python marshal for internal objects and bytecode, including versions, allow_code, disposable caches, limits, and untrusted-input risks.

Read more

Reading time: 6 minutes
August 27, 2026