Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个文件系统抽象来读取和存储文件,就像 php gaufrette库一样。
目标是以与 FTP、本地文件系统、GridFS 相同的方式访问文件,具体取决于环境。已经有了吗?最好的方法是什么?
你可能想看看 pyfs。它不支持 GridFS,但它确实支持很多后端,而且很容易添加更多。
http://code.google.com/p/pyfilesystem/
http://packages.python.org/fs/