Blog

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

Python code processed in batches with itertools.batched
Advanced Python
Foto de perfil de Leandro Hirt da Academify

itertools.batched strict: Validate Complete Batches

Learn Python itertools.batched with strict mode to build batches, validate complete groups, and process streams safely.

Read more

Reading time: 5 minutes
September 16, 2026
Data analysis and calculations with Python math.sumprod
Advanced Python
Foto de perfil de Leandro Hirt da Academify

math.sumprod: Dot Products and Weighted Averages

Learn Python math.sumprod for dot products, weighted averages, costs, scores, and clear numeric calculations.

Read more

Reading time: 4 minutes
September 16, 2026
CSV data analysis with Python csv.QUOTE_STRINGS
Advanced Python
Foto de perfil de Leandro Hirt da Academify

csv.QUOTE_STRINGS: Preserve Types in CSV Files

Learn Python csv.QUOTE_STRINGS to quote text, preserve types, and build more predictable and secure CSV files.

Read more

Reading time: 4 minutes
September 15, 2026
Code and file paths for Python PurePath.full_match
Advanced Python
Foto de perfil de Leandro Hirt da Academify

PurePath.full_match: Validate Paths with Glob Patterns

Learn Python PurePath.full_match to validate complete paths with glob patterns, control case sensitivity, and build precise file filters.

Read more

Reading time: 4 minutes
September 15, 2026
Asynchronous Python code representing asyncio.eager_task_factory
Advanced Python
Foto de perfil de Leandro Hirt da Academify

asyncio.eager_task_factory: Reduce Task Overhead

Learn Python asyncio.eager_task_factory to reduce scheduling overhead, understand ordering changes, and optimize short coroutines safely.

Read more

Reading time: 4 minutes
September 14, 2026
Developer working with UTC timestamps and Python calendar.timegm
Advanced Python
Foto de perfil de Leandro Hirt da Academify

calendar.timegm: Convert UTC to Unix Timestamps

Learn Python calendar.timegm to convert UTC date tuples into Unix timestamps safely and avoid local-time conversion bugs.

Read more

Reading time: 5 minutes
September 14, 2026
Programmer analyzing code to identify file MIME types with Python
Advanced Python
Foto de perfil de Leandro Hirt da Academify

mimetypes.guess_file_type: Detect MIME Types

Learn Python mimetypes.guess_file_type for MIME detection in paths, URLs, uploads, and HTTP responses with safe fallbacks.

Read more

Reading time: 5 minutes
September 13, 2026
Server components representing isolated Python interpreters running in parallel
Advanced Python
Foto de perfil de Leandro Hirt da Academify

InterpreterPoolExecutor: True Parallelism in Python

Learn Python InterpreterPoolExecutor for CPU-bound tasks, isolated interpreters, true parallelism, and safer concurrency design.

Read more

Reading time: 6 minutes
September 13, 2026