mfile:使用 Python 对象处理文件

时间:2021-05-29 02:27:20
【文件属性】:
文件名称:mfile:使用 Python 对象处理文件
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-29 02:27:20
Python 文件 用于使用一个 python 对象轻松管理一个文件的类。 安装 $ git clone https://github.com/gildson/mfile.git $ cd mfile $ python setup.py install ... Finished processing dependencies for MFile==0.1 使用 MFile 此文件结构将用于演示 U:\ ├── folder_a\ ├── folder_b\ └── doc.txt 导入并创建一个通过参数传递文件路径的 MFile 对象 >> > from mfile import MFile >> > file = MFile ( 'U: \\ doc.txt' ) 这次对象有以下属性 >> > file . name 'doc' >> > file . exte
【文件预览】:
mfile-master
----.gitignore(46B)
----README.md(4KB)
----mfile()
--------__init__.py(3KB)
----setup.py(744B)

网友评论