Advanced Python

Level up your skills. Learn complex Python concepts like concurrency, GIL, multiprocessing, asyncio, and object-oriented programming through hands-on experience.

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 memoryview: Zero-Copy Buffers

Learn Python memoryview for zero-copy buffers, slices, writable bytearray data, cast, mmap, struct, sockets, and safe lifecycle management.

Read more

Reading time: 4 minutes
August 28, 2026
A person typing on a laptop with a Python programming book visible, capturing technology and learning.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python tracemalloc: Track Memory

Learn Python tracemalloc to measure peaks, create and compare snapshots, filter allocations, and diagnose memory growth and leaks.

Read more

Reading time: 5 minutes
August 28, 2026
Commuters line up at a subway station platform, showcasing public transportation dynamics.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python queue: Communicate Between Threads

Learn Python queue for thread communication with FIFO, LIFO, priority, backpressure, task tracking, sentinels, and safe shutdown.

Read more

Reading time: 5 minutes
August 28, 2026
A vertical macro shot showcasing metallic socket wrenches in a shallow focus arrangement.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python selectors: Many Sockets

Learn Python selectors to multiplex sockets, handle partial reads and writes, manage buffers, deadlines, wakeups, and backpressure.

Read more

Reading time: 5 minutes
August 28, 2026
Vivid close-up of a green tree python coiled on a branch in the rainforest.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python contextvars: Async Context

Learn Python contextvars for task-local context, request IDs, logging, copy_context, thread propagation, and safe token restoration.

Read more

Reading time: 5 minutes
August 28, 2026
A minimalist June calendar page adorned with red hearts for a romantic touch.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python sched: Schedule Events

Learn Python sched to schedule events, use priorities, cancel work, create drift-free recurrence, test with fake clocks, and integrate executors.

Read more

Reading time: 5 minutes
August 28, 2026
Stack of colorful sticky notes with a 'To Do' note on top, isolated on white.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python bisect: Keep Lists Sorted

Learn Python bisect for binary search, ordered insertion, duplicates, key functions, ranges, rankings, and safe concurrent updates.

Read more

Reading time: 4 minutes
August 28, 2026
Close-up of a vibrant yellow python coiled with textured scales in vibrant light.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python heapq: Priority Queues

Learn Python heapq for priority queues, top-k selection, sorted merges, stable ties, lazy deletion, updates, and backpressure.

Read more

Reading time: 4 minutes
August 28, 2026