[Tutor] Runnig a windows.exe from python

Steven D'Aprano steve at pearwood.info
Fri Oct 1 02:06:07 CEST 2010


On Fri, 1 Oct 2010 04:05:08 am Susana Iraiis Delgado Rodriguez wrote:
> Hello !
>
> I apoligize for the format of my last message, I didn't realize that
> putting my text in bold format will show those asterisks.
> By the way you're Alan, for the pythom module I first had to read my
> arguments and passed them to the os.system(), it worked. Now when I
> execute this command, in my normal DOS Windows, I must change to
> another path before I run the .exe, I don't know how to tell this to
> my python module. 

os.chrdir(path)

changes to a new path.



-- 
Steven D'Aprano


More information about the Tutor mailing list