Blog

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

Striking image of a red-bellied python showcasing its vibrant scales in dramatic lighting.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python signal: Graceful Process Shutdown

Learn Python signal to handle SIGTERM and SIGINT, stop services, use timers and wakeup file descriptors, and avoid handler deadlocks.

Read more

Reading time: 6 minutes
August 24, 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 errno: Understand System Errors

Learn Python errno to interpret system codes, handle OSError, files, networks, retries, and native calls portably.

Read more

Reading time: 4 minutes
August 24, 2026
Side view of young cheerful ethnic female with book speaking on cellphone in public library while looking away
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python ctypes: Call C Libraries

Learn Python ctypes to load C libraries, define types and pointers, manage memory, callbacks, ABI, and native errors safely.

Read more

Reading time: 6 minutes
August 24, 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 expat: Low-Level XML Parsing

Learn Python expat for low-level XML parsing, handlers, namespaces, diagnostics, and protections against amplification and denial of service.

Read more

Reading time: 4 minutes
August 23, 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 ElementInclude: Safe XInclude

Learn Python ElementInclude to use XInclude with safe loaders, base URLs, maximum depth, and blocked external paths.

Read more

Reading time: 4 minutes
August 23, 2026
Close-up of a saxophone and sheet music stand, perfect for jazz lovers and musicians.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python xmlreader: Control SAX Parsers

Learn Python xmlreader to configure SAX parsers, InputSource, incremental parsing, attributes, locators, and safer XML handling.

Read more

Reading time: 4 minutes
August 23, 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 saxutils: XML Utility Functions

Learn Python saxutils to escape XML, quote attributes, generate documents, build SAX filters, and avoid context mistakes.

Read more

Reading time: 5 minutes
August 23, 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 pulldom: Partial DOM for XML

Learn Python pulldom to process XML events, expand only selected subtrees, and reduce memory use with safer limits.

Read more

Reading time: 5 minutes
August 23, 2026