Python embedded interpreter: how to initialize the interpreter ?

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Jan 2 10:42:34 EST 2007


At Sunday 31/12/2006 10:55, ycollet at freesurf.fr wrote:

>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

Does it work if you try it from the interpreter?


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list