Discuss System Call in the Python Programming forum on Dev Shed. System Call Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
Time spent in forums: 1 Week 2 Days 18 h 17 m 47 sec
Reputation Power: 68
You should be able to fix the problem by escaping the space with a backslash. I would also suggest that you stick with the forwardslash in your paths since it looks cleaner, doesn't need to be escaped. Rest assured that this wont cause you any problems .
You should also be able to use the alias c:\progra~1 which should sercumvent the space problem however I haven't been able to test either of these solusions since I don't have access to Python on Windows right now.
Time spent in forums: 3 Days 2 h 15 m 57 sec
Reputation Power: 13
Spaces in paths cause lots of problems so Microsoft kludged the kludge to work around them. Putting double quotes around the path tells the OS to use the whole string including spaces as a single command.