Python

Learn Python programming from scratch

344 tutorials
12 of 344 tutorials
Jul 12, 2026· 6 min read

Use the Python `cProfile` Module

Learn how to use Python's cProfile module to profile your code, find performance bottlenecks, and measure function call statistics.

Python
Jul 12, 2026· 6 min read

Use the Python `pdb` Debugger Module

Learn how to use Python's pdb module to set breakpoints, step through code, inspect variables, and debug programs interactively.

Python
Jul 12, 2026· 8 min read

Build a Real-World Python CLI Tool

Learn how to build a complete, real-world command-line tool in Python using the standard library: argparse, logging, pathlib, sqlite3, and more.

Python
Jul 12, 2026· 8 min read

Python Concurrency Explained

Learn what concurrency means in Python, the difference between threads, processes, and async, and when to use each approach for faster, more efficient programs.

AdvancedConcurrencyPython
Jul 12, 2026· 8 min read

How Python Threading Works

Learn how Python threading works under the hood, including thread lifecycle, the GIL interaction during I/O, daemon threads, and the threading module architecture.

PythonConcurrencyAdvanced
Jul 12, 2026· 8 min read

Create and Manage Python Threads

Learn how to create, start, join, and manage Python threads with practical examples including thread pools, exception handling, and return value collection.

AdvancedPythonConcurrency
Jul 12, 2026· 8 min read

Synchronize Python Threads with Locks

Learn how to use threading.Lock and RLock to prevent race conditions, protect shared data, and write correct multithreaded Python code.

ConcurrencyAdvancedPython