Libraries and Modules

Learn how to use the main Python libraries and modules. Practical guides on os, datetime, math, requests, and much more.

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

Python importlib.resources: Practical Guide

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
Binary data representing internal serialization with Python marshal
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python marshal: Internal Serialization

Learn Python marshal to serialize internal types, control format versions, and reject code objects when they are unnecessary.

Read more

Reading time: 6 minutes
August 6, 2026
Monitor with binary code representing pickle customization with Python copyreg
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python copyreg: Customize Pickle

Learn Python copyreg to register reduction functions, customize pickle, and preserve object compatibility across versions.

Read more

Reading time: 5 minutes
August 6, 2026
Python code representing specialized functions with functools.partial
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python functools.partial: Practical Guide

Learn Python functools.partial to bind arguments, adapt callbacks, and create clear specialized functions.

Read more

Reading time: 5 minutes
August 6, 2026
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python filecmp: Compare Files and Folders

Learn Python filecmp to compare files and folders using shallow checks, dircmp, cmpfiles, cache handling, and integrity hashes.

Read more

Reading time: 5 minutes
August 3, 2026