Blog

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

Close-up of a python snake coiled in darkness, showcasing its scales and eyes.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python reprlib: Safe Object Summaries

Learn Python reprlib to summarize large lists, strings, and recursive objects while keeping logs safe, bounded, and readable.

Read more

Reading time: 5 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 graphlib: Topological Task Order

Learn Python graphlib to order dependencies, detect cycles, run ready tasks in parallel, and build safe task pipelines.

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

weakref: Avoid Retaining Objects in Caches

Learn Python weakref for weak references, caches, WeakSet, WeakMethod, finalize callbacks, and avoiding accidental object retention.

Read more

Reading time: 7 minutes
August 27, 2026
Red leader figure connected to wooden figures, emphasizing leadership and teamwork.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python contextlib: Manage Resources Safely

Learn Python contextlib with contextmanager, ExitStack, suppress, closing, asynccontextmanager, and safe resource cleanup.

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 ast: Analyze and Transform Code

Learn Python ast to analyze and transform source code, build visitors, preserve positions, use literal_eval, and avoid execution risks.

Read more

Reading time: 6 minutes
August 27, 2026
Rustic exposed brick wall featuring aged electrical sockets and metal conduit.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python socket: Build TCP and UDP Networks

Learn Python socket for TCP and UDP clients and servers, framing, timeouts, IPv6, concurrency, TLS, and network security.

Read more

Reading time: 6 minutes
August 27, 2026
Hands typing code on a laptop in a workspace. Indoor setting focused on software development.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python multiprocessing: Use Multiple Cores

Learn Python multiprocessing with processes, pools, queues, pipes, shared memory, cancellation, security, and correct shutdown.

Read more

Reading time: 7 minutes
August 26, 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

concurrent.futures: Threads and Processes in Parallel

Learn Python concurrent.futures with threads, processes, Future objects, timeouts, cancellation, backpressure, and deadlock prevention.

Read more

Reading time: 6 minutes
August 26, 2026