Blog

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

Code editor representing REPL completion with Python rlcompleter
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python rlcompleter: REPL Completion

Learn Python rlcompleter to add completion to REPLs, consoles, and editors, control namespaces, filter results, and avoid side effects.

Read more

Reading time: 5 minutes
August 13, 2026
Terminal window representing an interactive console built with Python cmd
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python cmd: Build Interactive Consoles

Learn Python cmd to build interactive consoles with commands, help, history, completion, testing, streams, and secure action control.

Read more

Reading time: 4 minutes
August 12, 2026
Interactive terminal representing a custom REPL built with the Python code module
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python code: Build a Custom REPL

Learn the Python code module to build custom REPLs, control namespaces, prompts, output, incomplete blocks, errors, and local exit behavior.

Read more

Reading time: 5 minutes
August 12, 2026
Web application code representing WSGI with Python wsgiref
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python wsgiref: WSGI Applications

Learn Python wsgiref to build and validate WSGI applications, test environ and headers, route requests, and run a local reference

Read more

Reading time: 4 minutes
August 12, 2026
Document and inbox representing local email stores with Python mailbox
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python mailbox: Local Email Stores

Learn Python mailbox to read, create, and migrate Maildir, mbox, and MH stores with locking, flags, message parsing, and safe

Read more

Reading time: 5 minutes
August 12, 2026
Secure Internet protocol representing Unicode preparation with Python stringprep
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python stringprep: Prepare Unicode

Learn Python stringprep to apply RFC 3454 tables, map Unicode, reject prohibited characters, and validate bidirectional protocol rules.

Read more

Reading time: 5 minutes
August 12, 2026
Network connections representing non-blocking I/O with Python selectors
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python selectors: Non-Blocking I/O

Learn Python selectors to monitor many sockets, read and write readiness, timeouts, partial messages, and non-blocking connections safely.

Read more

Reading time: 5 minutes
August 11, 2026
Network data flow representing asynchronous context with Python contextvars
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python contextvars: Async Context State

Learn Python contextvars to store task-local state, prevent asyncio leaks, copy contexts, propagate metadata, and restore values with tokens.

Read more

Reading time: 4 minutes
August 11, 2026