Calling .exe's from module

mike milliger milliger at ausinfo.com
Mon Jun 7 17:49:43 CEST 1999


Shouldn't the following module call test.exe? Could someone point me to
the section in the programming python book which covers this
functionality?   No objects persist from my executable, so I don't have
to worry about ref counts and obj's returning to my module. i'm
basically going to pkzip a list of filenames passed to my module as
argv's.

#start
import string,sys,os

# --------------------------------------------------------------------
# run test

if __name__ == "__main__":

    os.system ("D:\Archiver\test.exe")






More information about the Python-list mailing list