stdlib

Guides to the Python standard library and its most useful built-in modules.

Python: pip vs Poetry vs uv vs conda, Package Managers Compared

Choosing a Python package manager really comes down to four big contenders: pip, Poetry, uv, and conda. This practical comparison hands you a decision flowchart, a feature matrix, honest speed guidance, and short migration notes so you can pick the right tool for your project in about 30 seconds. “Let us change our traditional attitude to the construction of programs: instead of imagining that our main task is to instruct a computer what to do, let us concentrate on explaining ... Read More

Python: Advanced Comprehensions, Nested, Generator Expressions, Performance

Take your Python comprehension skills past the basics. You will master nested comprehensions for multi-dimensional data, generator expressions for memory-efficient pipelines, and the performance facts that decide when a comprehension wins and when a plain for loop is the smarter choice. “Flat is better than nested.” Tim Peters, PEP 20 Last Updated: July 2026 | Tested on: Python 3.14.6 | Difficulty: Intermediate | Reading Time: 17 minutes You already know the basic python comprehension. Something like [x * 2 for ... Read More

Python: Datetime and Time (Dates, Timezones, Formatting)

You stored a user’s signup time as plain text, the app shipped, and now a customer in Pune swears they signed up “yesterday” while your logs say “today”. Welcome to dates and times. The Python datetime module is how you stop guessing: it gives you real date objects, clean formatting, safe parsing, time math, and timezones that actually behave. “Storing a time without its timezone is like writing down a phone number without the country code. It looks fine until ... Read More