Learn programming with our articles
Practical tutorials, in-depth technology breakdowns, and the latest development trends from industry experts.
Fresh content
The most relevant materials from our experts
if __name__ == "__main__": the Python entry point
The if name == "main" guard defines a Python program's entry point: it distinguishes direct...
strip() and lower(): Preparing User Text π§Ή
A user may enter the correct word with extra spaces or different letter case. Python...
ord(), chr(), and Cyclic Letter Shifts in Python π
A string contains characters, but a computer stores every character as a numeric code. Python...
How Functions Work Together in Python π§©
A small function normally handles one clear task. A real program, however, contains several tasks:...
Undo and Revert in GitHub Desktop: Fix Mistakes Without Fear
A commit is not a point of no return. GitHub Desktop lets you rebuild a...
History, Diffs, and Web Commits on GitHub
GitHub lets you read repository history, inspect individual commit diffs, view the history of one...
ANSI Color Table for Python π¨
ANSI escape codes can change terminal text colors. Print a color code before the text...
Event Loop in Python: How asyncio Enables Concurrent Execution
Event loop is the heart of asyncio. It doesn't run code in parallel across multiple...
pytest-django: Testing Django
Covered topics: Installation, @pytest.mark.djangodb, Fixtures, Testing views.
pip: Python Package Manager
Covered topics: Installing packages, Upgrading and removing, requirements.txt, Virtual environment.
run_in_executor and anyio: Sync Libraries in Async Code
Sometimes you need to call a synchronous library from async code without blocking the event...
Async Context Managers: async with and @asynccontextmanager
Async context managers manage resources in async code β connections, files, transactions.
Choose a direction
Each category contains carefully selected materials from experts
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologiesBecome an author on our blog and help other developers learn new technologies