Blog

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

Software developer working with Python queues and threads
Advanced Python
Foto de perfil de Leandro Hirt da Academify

queue.SimpleQueue: Thread-Safe FIFO Queue

Learn Python queue.SimpleQueue for thread-safe FIFO queues, worker pipelines, clean shutdown, and reliable producer-consumer designs.

Read more

Reading time: 5 minutes
September 4, 2026
Software developer working with Python enums and API code
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python StrEnum: String Enums

Learn Python StrEnum for string-based enums, input validation, JSON serialization, APIs, configuration, and cleaner domain contracts.

Read more

Reading time: 4 minutes
September 4, 2026
Folders and directories for Python contextlib.chdir
Advanced Python
Foto de perfil de Leandro Hirt da Academify

contextlib.chdir: Restore Directories Automatically

Learn Python contextlib.chdir to change directories temporarily, restore paths safely, isolate tests, and avoid global-state bugs.

Read more

Reading time: 5 minutes
September 3, 2026
Python code execution and performance monitoring
Advanced Python
Foto de perfil de Leandro Hirt da Academify

sys.monitoring: Low-Overhead Instrumentation

Learn Python sys.monitoring for low-overhead instrumentation with selective events, callbacks, tooling, and safe observability.

Read more

Reading time: 5 minutes
September 3, 2026
Software developer organizing object data with Python operator.attrgetter
Advanced Python
Foto de perfil de Leandro Hirt da Academify

operator.attrgetter: Sort Objects by Attributes

Learn Python operator.attrgetter to sort, group, and transform objects by simple or nested attributes with clearer reusable code.

Read more

Reading time: 4 minutes
September 2, 2026
Asynchronous programming with Python asyncio.Runner
Advanced Python
Foto de perfil de Leandro Hirt da Academify

asyncio.Runner: Reuse the Event Loop Safely

Learn Python asyncio.Runner to reuse an event loop, control context, signals, debug mode, cancellation, and safe asynchronous shutdown.

Read more

Reading time: 6 minutes
September 2, 2026
Binary data compression with Zstandard in Python
Advanced Python
Foto de perfil de Leandro Hirt da Academify

compression.zstd: Zstandard Streams and Dictionaries

Learn Python compression.zstd for Zstandard compression, streaming, dictionaries, safe limits, testing, and production workflows.

Read more

Reading time: 6 minutes
September 1, 2026
Python application packaged as an executable zipapp archive
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python zipapp: Build Executable Apps

Learn Python zipapp to package applications as executable pyz archives, include dependencies, and distribute tools safely.

Read more

Reading time: 5 minutes
September 1, 2026