The language can easily be extended with new functions and objects implemented in Python but also in C or C++ whenever utmost efficiency is required. Moreover, it is straight forward to embed a Python interpreter into a C or C++ program. These are key features for using Python as a simple, and yet powerful, programmable environment in which different tools can share and operate on sets of data.
After a brief introduction to the Python programing language and a short description of Numeric Python - an extension module that enable the efficient handling of large arrays of data - several examples will be presented that illustrate both:
extending Python with new objects and functions such as:
and embedding a Python interpreter into other packages like: