You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file:
(Add param<is_auto_create> & param<is_occupy> to class<File> constructor, support setting whether to automatically create the file if it does not exist and enable file lock.
Get file attribute information from property:dict<info> instead of each individual property.
Add method<create> to class<File>),
doc,
__init__:Add var<__all__>.
A simple Python package that object-oriented encapsulates Python traditional built-in file operations. It's also easier than `easygui`. o((>ω< ))o
8
+
An easier-to-use Python package that object-oriented encapsulates Python traditional built-in file operations. It's also easier than `easygui`. o((>ω< ))o
<td>Return the name of the file without the file extension.</td>
27
-
</tr>
28
-
<tr>
29
-
<td><code>File.ext</code></td>
30
-
<td>Return the file extension of the file.</td>
23
+
<td><code>File().info</code></td>
24
+
<td>Return a dict of file attribute information.</br>● path: the absolute path of the file</br>● dir_path: the absolute path of the directory where the file is located</br>● full_name: the name of the file</br>● name: the name of the file without file extension</br>● ext: the extension of the file</td>
0 commit comments