Blog

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

Digital file icon representing MIME types with Python mimetypes
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

mimetypes: Detect MIME Types by Extension

Learn Python mimetypes to identify MIME types, extensions, and encodings safely in uploads, downloads, email, and web APIs.

Read more

Reading time: 6 minutes
August 8, 2026
Binary search and sorted lists with Python bisect
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python bisect: Search Sorted Lists

Learn Python bisect for binary search, ordered insertion, duplicate ranges, thresholds, and safe sorted-list design.

Read more

Reading time: 4 minutes
August 8, 2026
Code and packaged files with Python importlib.resources
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

importlib.resources: Access Packaged Files Safely

Learn Python importlib.resources to access packaged files safely across wheels, installed applications, and custom import loaders.

Read more

Reading time: 5 minutes
August 7, 2026
Keyboard and data flow representing multiple-file processing with Python fileinput
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python fileinput: Read Multiple Files

Learn Python fileinput to read multiple files or stdin, track line numbers, open compressed logs, and rewrite content safely with

Read more

Reading time: 7 minutes
August 7, 2026
Code editor with numbered lines representing the Python linecache module
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python linecache: Read Lines by Number

Learn Python linecache to read source lines by number, manage cached files, refresh changed code, and support traceback and import

Read more

Reading time: 7 minutes
August 7, 2026
Source code representing parser tokens and constants with the Python token module
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python token: Parser Constants

Learn Python token constants for lexical types, exact operators, indentation, f-strings, t-strings, and version-aware parsers.

Read more

Reading time: 7 minutes
August 7, 2026
Source code representing reserved words and soft keywords in Python
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python keyword: Reserved Words

Learn Python keyword to validate identifiers, reserved words, and soft keywords for the target interpreter version.

Read more

Reading time: 5 minutes
August 7, 2026
Software architecture representing abstract base classes with Python abc
Advanced Python
Foto de perfil de Leandro Hirt da Academify

abc: Build Abstract Classes and Contracts

Learn Python abc to create abstract classes, required methods, virtual subclasses, and stable runtime contracts.

Read more

Reading time: 5 minutes
August 6, 2026