Python Articles, Tutorials & News

Sentinel Values in the Python Stdlib

Hi, Following some discussion on the python-dev mailing list, I’d like to poll your preferences on how we define sentinel values for optional function arguments. This is a minor detail, so ISTM most important that we reach a reasonable decision quickly,…

Read more »

Embedding Python in Another Application

The previous chapters discussed how to extend Python, that is, how to extend the functionality of Python by attaching a library of C functions to it. It is also possible to do it the other way around: enrich your C/C++ application by embedding Python in …

Read more »

Memory Mapping with Python

Before I start this week’s “byte” (which is my first experiment with a series actually!) I want to thank everyone who made the last post so successful. Nothing gives me more pleasure than to see people having fun with something I wrote. That is the greate…

Read more »