"Michael Hoffman" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>> on 22.07.2005 00:21 Michael Hoffman said the following:
>>> Any Java hackers here want to tell us of the wonders of the Java Path
>>> class?
> Ah, here it is:
>
> http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html

Very interesting.  Java's File class is a system-independent "abstract 
representation of file and directory pathnames" which is constructed from 
and converted to system-dependent string-form pathnames (including URL/URI 
file:... forms).  A File consist of an optional prefix and a *sequence* of 
zero or more string names.

In other words, Java's File class is what Duncan and I thought Python's 
Path class might or possibly should be.  So this internal representation 
might be worth considering as an option.  Of course, if the interface is 
done right, it mostly should not make too much difference to the user.

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to