[Tutor] question re: executing exe files with arguments

Janani Krishnaswamy jkrishna at uhnresearch.ca
Fri May 18 22:17:48 CEST 2007

I am having trouble executing an exe file with 3 arguments within a
python script.  Right now I have something like this:

os.system(r'"1/2/3/program 1/2/3/argument1 1/2/3/argument2"')

I was trying it with a raw string because of the /'s within it.  I'm not
sure of any other approaches.

Any advice would be greatly appreciated!



More information about the Tutor mailing list