Blog

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

Binary data representing internal serialization with Python marshal
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python marshal: Internal Serialization

Learn Python marshal to serialize internal types, control format versions, and reject code objects when they are unnecessary.

Read more

Reading time: 6 minutes
August 6, 2026
Monitor with binary code representing pickle customization with Python copyreg
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python copyreg: Customize Pickle

Learn Python copyreg to register reduction functions, customize pickle, and preserve object compatibility across versions.

Read more

Reading time: 5 minutes
August 6, 2026
Code and structures representing runtime types with the Python types module
Advanced Python
Foto de perfil de Leandro Hirt da Academify

types: Runtime Type Utilities in Python

Learn Python types for SimpleNamespace, MappingProxyType, runtime type names, and safe dynamic class creation.

Read more

Reading time: 5 minutes
August 6, 2026
Python code representing specialized functions with functools.partial
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

functools.partial: Bind Arguments and Build Callbacks

Learn Python functools.partial to bind arguments, adapt callbacks, and create clear specialized functions.

Read more

Reading time: 5 minutes
August 6, 2026
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python sched: Schedule Events

Learn Python sched to schedule events, control priorities, cancel tasks, and build recurring work with a monotonic clock.

Read more

Reading time: 7 minutes
August 5, 2026
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python atexit: Run Cleanup on Exit

Learn Python atexit to run cleanup at shutdown, control LIFO order, and avoid problems with threads, signals, and handler exceptions.

Read more

Reading time: 6 minutes
August 5, 2026
Monitor with binary code representing pickle opcode analysis with Python pickletools
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python pickletools: Analyze Pickles

Learn Python pickletools to disassemble pickles, inspect opcodes, and optimize streams without executing untrusted data.

Read more

Reading time: 6 minutes
August 5, 2026
Source code on screen representing 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, indentation, encodings, source positions, and rebuild code safely.

Read more

Reading time: 6 minutes
August 5, 2026