[Tutor] Os.system on winXP system having trouble with spaces in directory names

Barrett Smith SMITHB2 at WESTAT.com
Tue Jul 13 20:31:29 CEST 2004


I'm having trouble with a using os.system on a windowsXP machine.  

Running:
os.system('start C:\\Documents and Settings\\Smith_B2\\Desktop\\page.html')

Yields and error saying 'Windows cannot find C:\Documents.....'

This same problem means I can't access things in the 'Program Files'
directory and so forth.  Any ideas of work-arounds (other than moving to
non-space included directories)?

Thanks,
Barrett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20040713/f232ddf0/attachment.html


More information about the Tutor mailing list