How to execute a command line in a Python program?

Grant Edwards grante at visi.com
Sat Nov 9 20:17:22 EST 2002


In article <mailman.1036886716.15027.python-list at python.org>, Mindy wrote:

> Hey, in my python program, I want to call another
> program or command, say, emacs filename&,

os.system("emacs filename&")

-- 
Grant Edwards                   grante             Yow!  This is PLEASANT!
                                  at               
                               visi.com            



More information about the Python-list mailing list