Blog

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

Close-up view of a computer screen displaying code in a software development environment.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Path.walk: Traverse Directories

Learn Python Path.walk to traverse directories, prune folders, handle errors and symlinks, calculate sizes, delete safely, and support older versions.

Read more

Reading time: 4 minutes
August 28, 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 asyncio.timeout: Control Deadlines

Learn Python asyncio.timeout for deadlines, timeout_at, rescheduling, TaskGroup, cleanup, retries, shielding, and safe asynchronous cancellation.

Read more

Reading time: 4 minutes
August 28, 2026
A detailed view of computer programming code on a screen, showcasing software development.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python TaskGroup: Structured Concurrency

Learn Python TaskGroup for structured concurrency, task results, cancellation, ExceptionGroup, timeouts, nested groups, and bounded async work.

Read more

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

Python MappingProxyType: Read-Only Dict

Learn Python MappingProxyType to expose read-only dictionaries, create dynamic views and snapshots, preserve invariants, and avoid unnecessary copies.

Read more

Reading time: 4 minutes
August 28, 2026
Close-up of a metal gate featuring a 'Please Keep Gate Closed' sign, outdoors.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Literal: Restrict Exact Values

Learn Python Literal to restrict exact values, create overloads, discriminate TypedDict variants, use match/case, and improve typed APIs.

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 TypedDict: Typed Dictionaries

Learn Python TypedDict for typed dictionaries, optional keys, NotRequired, Required, API payloads, discriminated variants, and static safety.

Read more

Reading time: 5 minutes
August 28, 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 Protocol: Structural Typing

Learn Python Protocol for structural typing, generic contracts, callbacks, runtime_checkable, testing, dependency injection, and low coupling.

Read more

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