OS commands

Matthew Banham matb at photond.com
Wed Sep 27 18:23:32 CEST 2000

Hi all,

Just a quickie from a python newbie (who couldn't find this easily in the
manual and is a bit lazy!). From the python interpreter command prompt, how
would I execute a DOS command? For example, I use MS Windows 2000 and I want
to be able to run the dos command "myprog.exe" (i.e. to run the file
"myprog.exe"). Any ideas are extremely welcome :o)

Yours Sincerely,
Matthew Banham
Matthew Banham, MSci
Development Engineer & Technical Support Officer

Photon Design                Tel:  +44 1865 395480
68 Church Way                Fax: +44 1865 395481
Iffley, Oxford               Email: matb at photond.com
OX4 4EF                      Web: www.photond.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Matthew Banham.vcf
Type: text/x-vcard
Size: 515 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20000927/3f25e3ac/attachment.vcf>

More information about the Python-list mailing list