Crystal Space 2.0.0: 4.18.4.2 Embedding in a c++ application

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 4.18.4.2 Embedding in a c++ application

You can access Python from a C++ program by loading the `‘cspython’` Crystal Space plugin module and interacting with it via the SCF `‘iScript’` interface (see section The iScript Interface).

The `‘pysimp’` example program (`‘CS/apps/pysimp’`) illustrates how to do so. In addition to loading the `‘cspython’` plugin, it loads and executes Python code from a sample script (which resides along with the other Python examples).

This document was generated using texi2html 1.76.