Embedded Python interpreter examples?

Paul Miller paul at fxtech.com
Sat Jan 27 14:16:22 EST 2001


I'd like some examples of using an embedded Python interpreter to
execute scripts as an extension mechanism for C/C++ apps. For example, I
may have a list of C++ objects that have their behavior defined by
Python scripts. Since each object may have some data that is part of the
script, do I need to run an interpreter instance per object, so that
global variables (for example) used by the script will be available from
run to run?

--
Paul Miller - stele at fxtech.com



More information about the Python-list mailing list