how to start a python file from python code

Robert VERGNES robert.vergnes at yahoo.fr
Tue Apr 3 08:58:12 PDT 2007


Hello,

I have trying to launch another application from Python using spawn unedr WinXP but no success. I had to use startfile. 
But startfile is not recognized by Linux... any idea ?

here is my code:
mpath = os.getcwdu()
marg = mpath+"\\plugins\\mplplotter.py" #+' --'+str(self._iddp)
os.startfile(marg)
but does work on winXP but not linux...
I know it is not wxpython... but well there is smart people in this list...

Thanx

Robert


 		
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070403/d0df4b6c/attachment.htm


More information about the wxpython-users mailing list