[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | [ Search: ] |
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.