> Dear all, > I'm trying to call an executable program in Python. I did the following, but > it doesn't work. Any help is appreciated.
> os.system('C:\Program Files\EPANET2\epanet2d.exe C:\simulation > test\Network3_1.inp C:\simulation test\Network3_1.out') My first guess: you need quotes around paths with spaces in the names. Alan _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor