[Pythonmac-SIG] space in file path

Bob Ippolito bob at redivi.com
Thu Sep 29 22:01:15 CEST 2005


On Sep 29, 2005, at 3:11 PM, Zhi Peng wrote:

> Hi!
>
> Obviously the macfs.FSSpec(file) does not accept form of file name  
> as following:
>
> file = "//Applications//Program\ Filename.rsrc"
>
> (or //Applications//Program Filename.rsrc")
>
> But if I have space between file name as above, what I need to do.  
> Anyone knew? Thanks in advance.


"/Applications/Program Filename.rsrc"

-bob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20050929/3753166b/attachment.html


More information about the Pythonmac-SIG mailing list