[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pythonmac-sig
Subject:    Re: [Pythonmac-SIG] space in file path
From:       Bob Ippolito <bob () redivi ! com>
Date:       2005-09-29 20:01:15
Message-ID: 07C3B38A-3CFE-4AE2-A5D1-D2A8164CF3E6 () redivi ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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



[Attachment #5 (unknown)]

<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: \
after-white-space; "><BR><DIV><DIV>On Sep 29, 2005, at 3:11 PM, Zhi Peng \
wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Hi! \
</DIV> <DIV> </DIV> <DIV>Obviously the macfs.FSSpec(file) does not accept form of \
file name as following: </DIV> <DIV> </DIV> <DIV>file = "//Applications//Program\ \
Filename.rsrc"</DIV> <DIV> </DIV> <DIV>(or //Applications//Program \
Filename.rsrc")</DIV> <DIV> </DIV> <DIV>But if I have space between file name as \
above, what I need to do. Anyone knew? Thanks in advance. </DIV> \
</BLOCKQUOTE><BR></DIV><DIV><FONT class="Apple-style-span" color="#0000DD"><BR \
class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" \
color="#0000DD">"/Applications/Program Filename.rsrc"</FONT></DIV><DIV><FONT \
class="Apple-style-span" color="#0000DD"><BR \
class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" \
color="#0000DD">-bob</FONT></DIV><DIV><FONT class="Apple-style-span" \
color="#0000DD"><BR class="khtml-block-placeholder"></FONT></DIV><BR></BODY></HTML>



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic