python
Generate QR Codes in Python with the qrcode Library
A hands-on guide to creating, styling, and batch-generating QR codes in Python with the qrcode library — from a one-liner to production-ready output.
python
A hands-on guide to creating, styling, and batch-generating QR codes in Python with the qrcode library — from a one-liner to production-ready output.
python
Learn how Python's asyncio really works — from the event loop and coroutines to gather, TaskGroup, timeouts, semaphores, and running blocking code without freezing your program.
python
Learn how to turn a Python script into a polished command-line tool with argparse — positional and optional arguments, types and validation, flags, subcommands, and the pitfalls that trip people up.
python
Learn how Python's type hints actually work — from basic annotations to Protocols, TypedDict, and generics — and how to catch bugs before runtime with mypy. A hands-on, example-driven guide for intermediate developers.
python
A practical deep dive into Python's functools module — memoization with lru_cache and cache, cached_property, partial application, reduce, singledispatch, total_ordering, and writing decorators that don't lose metadata.
python
print() works for quick scripts, but real applications need log levels, structure, and control over where messages go. Learn to use Python's logging module properly: loggers, handlers, formatters, dictConfig, rotating files, and the common pitfalls to avoid.
News
Your week in Python: 3.15.0 beta 3 is due June 23, Astral's uv shipped 0.11.22 and 0.11.23, a new PyPI supply-chain wave spurred fresh malware tooling, Python 3.14.6 landed ~179 fixes, and EuroPython 2026 revealed its schedule one month out.
Thoughts, stories and ideas.
Learn how Python's itertools module lets you build fast, lazy, memory-efficient data pipelines from small composable building blocks — with runnable examples covering count, chain, islice, accumulate, groupby, batched, and more.
Learn how Python decorators really work — from closures and the @ syntax to functools.wraps, decorators that take arguments, stacking, stateful and class-based decorators, plus practical retry and caching patterns you can use today.
QR codes are everywhere – learn how to decode them in just a few lines of Python using pyzbar and OpenCV, from static images to a live webcam scanner.
Learn how Python's dataclasses eliminate boilerplate for data-holding classes — covering defaults, default_factory, frozen instances, __post_init__, ordering, slots, inheritance, and the helpers that make them a joy to use.
Learn how Python's `with` statement really works and how to build your own context managers three ways — the `__enter__`/`__exit__` protocol, the `@contextmanager` decorator, and standard-library tools like `suppress`, `redirect_stdout`, and `ExitStack`.
Learn how Python's built-in collections module replaces fiddly boilerplate with purpose-built containers — Counter, defaultdict, deque, namedtuple, OrderedDict, and ChainMap — through runnable examples and the pitfalls to watch for.
Learn how Python's pathlib turns clumsy string-based file handling into clean, readable, object-oriented code. A hands-on tour of building paths, reading and writing files, globbing, and the pitfalls to avoid.
This week in Python: 3.14.6 ships with security fixes, Python 3.15 enters beta with PEP 829 accepted, Pydantic forks httpx into httpx2, Django patches two CVEs, and the PSF names new Community Service Award recipients.
Your quick PyKIT roundup for June 16, 2026: Python 3.15 locks its feature set, a Rust-for-CPython PEP nears, the 3.14 line keeps shipping fixes, and EuroPython heads to Kraków.
Discover the art of text-based creativity – learn how to transform simple characters into stunning visual masterpieces with Python and ASCII art.
Discover how Python's RSS parsing tools simplify content tracking, saving you time and keeping you effortlessly informed.
Unlock scalable storage, streamlined Python workflows, and simplified data management by integrating AWS S3 into your projects.