command line path
Diez B. Roggisch
deets at nospam.web.de
Mon Sep 5 11:33:30 EDT 2005
>
> I debugged a little and what is happening is the space in "c:\Program Files"
> and "...\National Instruments..\" is being parsed as separate arguments and
> i only wish for them to be parsed as one.
>
> How do I get pass a path string containing spaces?
Surround it with double quotes. This is no python issue, it's part of
your shell. Under unix (or cygwin) , you could also use '\ ' to escape
the single spaces.
Diez
More information about the Python-list
mailing list