On Wed, 2003-12-03 at 19:55, Alessandro Bottoni wrote: [...] > So, I wonder: > > - How can I embed a Python interpreter into a PyGTK application? Do I have to > have a separated process for the embedded interpreter or I have to use the > existing PyGTK Python interpreter? (I would like to have a separated process, > if I had to choose). > > - Is there any viable "PyCLIWidget" I can use as the PyGTK CL window for my > app?
Search for pyShell.py in the archives of this list. There's been quite a bit of discussion on the list about it; mostly tweaking and people sharing some experiences using it. > - How can I communicate with my embedded interpreter? Just use its > STDIN/STDOUT pseudo-files? Or use IPC, maybe via TCP/IP sockets? > > - How can I make accessible my PyGTK variables/functions/objects to my > embedded interpreter? Just load the existing PyGTK modules and call the > wished functions? What if the embedded interpreter and the PyGTK engine are > separated Python process? How can they share the same environment? These are also covered in the above threads. Cheers, Malcolm _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
