[Python-ideas] File system API

Mathias Panzenböck grosser.meister.morti at gmx.net
Fri Feb 2 19:08:03 CET 2007


Josiah Carlson schrieb:
> "Tal Einat" <tal.no.no.spam at gmail.com> wrote:
>> On 2/2/07, Eduardo EdCrypt O. Padoan <eopadoan at altavix.com> wrote:
>>
>>> I think that there aready exists a  proposal for an Abstract FS Layer
>>> for Python somewere.
>>>
>> I haven't really seen a proposal for such a thing.
>>
>> itools.vfs is the only actualy file-system API, or file-system abstraction
>> layer, I know of. It is going more or less in the directions I am currently
>> thinking of. But the fact is that it has not gained popularity makes me
>> think that maybe the direction needs to be better thought out.
> 
> Or maybe it's because not that many people need a file-system API?  I
> would imagine that the needs of most people lie within the realm of
> manipulating the local filesystem, and when remote access is necessary,
> they choose some set of remote protocols they want to use to access
> remote filesystems, and just use the relevant client protocols for that.
> 
> 
>  - Josiah

And with KDE bindings for python you have KIO in python and therefore file:/ zip:/ tar:/ (s)ftp:/
http(s):/ fish:/ (rocks!) and many others. :)

Yes, it's dependent on KDE and KDE is not yet available for all platforms python is. But as sayed
before, there is no big need for such an API (though it would be very nice to have one).

panzi



More information about the Python-ideas mailing list