Executing on the Command Line:

xion at inorbit.com xion at inorbit.com
Tue May 16 22:41:29 EDT 2000


Is there a way to launch an OS specific command argument w/ Python? In
C++ I'd just call:

system("/usr/bin/gedit");

Or something similar.

I've tried looking in both the sys.py and os.py modules, but I'VE
discovered nothing. This doesn't mean it can't be done, as a matter of
fact I'm sure it's QUITE EASY.

Could someone help me out with the syntax?

Thanks SO MUCH!



More information about the Python-list mailing list