newbie question: starting external application(win)?

Peter Hansen peter at
Thu Dec 9 14:38:19 CET 2004

Frank Esselbach wrote:
> Hello,
> I'am new in python. I need informations, how its possible run another
> (non-python) exe file from python without terminate the python system.
> I have googeled, but could not find informations that I can understand.
> The most informations comes from unix/linux butIneed this for win32.

There's a variety of options, ranging from os.popen and os.system
through spawn, the new in 2.4 subprocess module, and os.startfile.

Which one is best for you might depend on specifics.  You can
either read the docs for the "os" module or "subprocess", or
tell us more detail.  What exe are you trying to run, and how
are you doing it now which is "terminating the python system"?


More information about the Python-list mailing list