https://github.com/weaming/filetree
:evergreen_tree: Easy file tree
https://github.com/weaming/filetree
Last synced: 12 months ago
JSON representation
:evergreen_tree: Easy file tree
- Host: GitHub
- URL: https://github.com/weaming/filetree
- Owner: weaming
- License: mit
- Created: 2017-01-01T05:01:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-16T16:54:45.000Z (almost 8 years ago)
- Last Synced: 2025-06-05T14:17:57.252Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
Easier file tree for human.
===========================
Examples::
>>> from filetree import File
>>> f = File('.')
>>> f.files
[, , , , ]
>>> f.dirs
[, , , , ]
>>> f.images
[, ]
API::
__call__
__iter__
__eq__
files
dirs
images
listdir
exists
type
is_blank
is_dir
is_file
is_hidden
info
atime
ctime
mtime
move_to
remove
remove_blank_dirs
remove_blank_subdir
size
walk