how I call the program in windows using python

Chris Keyes chrisk at
Tue Jan 14 21:29:38 CET 2003

This may not be the best way to do this but I'd try os.system(command)

 >>> import os
 >>> os.system("d:/windows/calc.exe")
(I could not find the copy of calc installed under 2000, but I have a 98 
install on D, I've not gone completely mad, honest!)

Hope that helps


Maria Clara wrote:
> I like to run one program of windows for example ejemplo.bat using zope

More information about the Python-list mailing list