[Python-3000] Path Reform: Get the ball rolling

Ronald Oussoren ronaldoussoren at mac.com
Thu Nov 2 17:25:43 CET 2006


On Nov 2, 2006, at 5:21 PM, Paul Moore wrote:

> On 11/1/06, Mike Orr <sluggoster at gmail.com> wrote:
>> [...] especially since both Mac and
>> Windows do the right thing with "/", "..", and "." now.
>
> Not always:
>
> D:\Data>dir C:/
> Invalid switch - "".

And on Mac this depends on the API you use, if you use the Carbon  
API's you still have to use colons as directory separators (and the  
OS does the correct translation for you, which is why you can still  
have a file named "a/b" in the Finder).

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20061102/023a8e32/attachment.bin 


More information about the Python-3000 mailing list