Blog

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

Developer working on build automation and directory compilation with Python compileall
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python compileall: Compile Directories

Learn Python compileall to compile directories, generate pyc files in parallel, filter paths, and control optimization and invalidation.

Read more

Reading time: 6 minutes
August 4, 2026
Monitor with binary code representing pyc generation with Python py_compile
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python py_compile: Generate pyc Files

Learn Python py_compile to generate pyc files, validate syntax, and control optimization and timestamp or hash invalidation.

Read more

Reading time: 5 minutes
August 4, 2026
Code editor representing tab and space correction with Python tabnanny
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python tabnanny: Fix Ambiguous Indentation

Learn Python tabnanny to detect ambiguous tabs and spaces, scan projects, and prevent TabError and IndentationError.

Read more

Reading time: 6 minutes
August 4, 2026
Source code and syntax representing lexical analysis with Python tokenize
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python tokenize: Analyze Source Code

Learn Python tokenize to inspect tokens, comments, encodings, source positions, and rebuild Python code safely.

Read more

Reading time: 5 minutes
August 4, 2026
Programming terminal representing interactive input compilation with Python codeop
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python codeop: Compile Interactive Input

Learn Python codeop to detect complete interactive input, compile REPL commands, and preserve __future__ state securely.

Read more

Reading time: 6 minutes
August 4, 2026
Developer analyzing code structure and symbol tables with Python symtable
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python symtable: Scopes and Symbols

Learn Python symtable to analyze scopes, symbols, globals, nonlocals, closures, imports, annotations, and type parameters.

Read more

Reading time: 6 minutes
August 3, 2026
Monitor with binary code representing bytecode analysis with Python dis
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python dis: Understand Bytecode

Learn Python dis to inspect bytecode instructions, adaptive caches, source positions, tracebacks, and CPython implementation details.

Read more

Reading time: 6 minutes
August 3, 2026
Error screen representing crash and deadlock diagnosis with Python faulthandler
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python faulthandler: Diagnose Crashes

Learn Python faulthandler to diagnose crashes, deadlocks, and timeouts using thread dumps and native C stack information.

Read more

Reading time: 6 minutes
August 3, 2026