Re: Injecting python function in an embedded python engine

2009-04-08 Thread prakash jp
import os ch = os.system("import -window root temp.png") print ch after that no way to store the screen shot regards Prakash On Mon, Apr 6, 2009 at 10:28 PM, Roberto Fichera wrote: > Hi All in the list, > > I've embedded python v2.6.x engine into my application without any problem. > Now I woul

Re: Injecting python function in an embedded python engine

2009-04-07 Thread Gabriel Genellina
En Mon, 06 Apr 2009 13:58:12 -0300, Roberto Fichera escribió: I've embedded python v2.6.x engine into my application without any problem. Now I would like to inject some additional functions after importing a python module. So, basically I'm importing a python module via PyImport_ImportModu

Injecting python function in an embedded python engine

2009-04-06 Thread Roberto Fichera
Hi All in the list, I've embedded python v2.6.x engine into my application without any problem. Now I would like to inject some additional functions after importing a python module. So, basically I'm importing a python module via PyImport_ImportModule() function. The python module is a simple set