[Tutor] How to programmatically EDIT a python file using an editorof my choice ?
Dominique
mydomdom at gmail.com
Sun Apr 12 19:46:29 CEST 2009
OK.
With r before the path of the software, it works perfectly.
subprocess.Popen([r"C:\Program Files\Editra\Editra.exe", filename])
I saw that once but I don't remember and cannot find the reason for the use of r.
I'll try not to forget to test with and without r in case a file access doesn't
work.
Thanks a lot to both of you Sander and Alan for your help.
Dominique
More information about the Tutor
mailing list