On Jun 24, 10:50 am, "evidentemente.yo" <[EMAIL PROTECTED]> wrote: > Hi, i am trying to call a .exe from my .py file, i have found the exec > function, but i'm not sure of how to use it:S > > would it be f.e.: > > execl (mypath/myfile.exe,myfile,arg1,arg2,...) > > ???? > > Another question is, when i call my .exe with exec, i understand that > my .py file will stop running, and instead the new process will be > launched instead of it. Is it true? > Is there a way to launch my .exe without finishing my .py file?? > > thank you very much:)
The exec function is for executing Python code. Have a look at the subprocess module. -- http://mail.python.org/mailman/listinfo/python-list