Need help dealing with spaces in NT paths.

wheineman wheinemanNOwhSPAM at uconect.net.invalid
Tue Nov 16 10:20:57 EST 1999


In article <uogcu93dt.fsf at cs.uu.nl>, piet at cs.uu.nl wrote:
> >>>>> wheineman <wheinemanNOwhSPAM at uconect.net.invalid> (W) writes:
> W> Put quotes around the complete path. For example:
> W> myExec = "C:\\Program Files\\Trash Can\\compactor.exe"
> You probably mean:
> myExec = "\"C:\\Program Files\\Trash Can\\compactor.exe\""
> or easier:
> myExec = r'"C:\Program Files\Trash Can\compactor.exe"'
> --
> Piet van Oostrum <piet at cs.uu.nl>
> URL: http://www.cs.uu.nl/~piet [PGP]
> Private email: Piet.van.Oostrum at gironet.nl

What he said. Sorry.


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!





More information about the Python-list mailing list