Python embedded interpreter: how to initialize the interpreter ?
- From: ycollet@xxxxxxxxxxx
- Date: 31 Dec 2006 05:55:33 -0800
Hello,
I've written a C embedded application. I want to open a python gui
application in my C program but when I do :
PyRun_String( "import gui.py", file_input, pDictionary, pDictionary );
the interpreter emits an error: tkinter module not defined
What script must I load to initialize the embedded python interpreter
so as I have the same modules in the python command line and in the
python embedded interpreter ? /usr/lib/python2.4/*.py ??
Yann COLLETTE
.
- Prev by Date: request for code : Py Tic Tac Toe in action
- Previous by thread: request for code : Py Tic Tac Toe in action
- Index(es):
Relevant Pages
|