embedding Python, several instances?

Torsten Mohr tmohr at s.netic.de
Sat Sep 14 23:38:35 EDT 2002


Hi,

i'd like to use Python as a scripting language for a C program
and the examples in the documentation work quite well.

When i now run two scripts, the definitions that were done in
the first one are seen in the second one.


How can i run each script in one instance of the python
interpreter?


Best regards,
Torsten.





More information about the Python-list mailing list