DirectPython is a C++ extension to the Python programming language which provides access to DirectX (9.0c) API, including Direct3D, DirectSound, DirectShow and DirectInput.
PyMetaPost provides a Python front-end to the graphics program (and language) MetaPost. It allows you to create graphics files with the power of MetaPost and LaTeX through a simple Python API.