Easier file tree.
Project description
Examples:
>>> from filetree import File >>> f = File('.') >>> f.files [<file: .gitignore>, <file: LICENSE>, <file: Makefile>, <file: README.rst>, <file: setup.py>] >>> f.dirs [<dir: .git>, <dir: build>, <dir: dist>, <dir: docs>, <dir: filetree>] >>> f.images [<file: python-logo.png>, <file: favicon.jpg>]
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
filetree-0.3.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for filetree-0.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3341a31bed3dabea51dc1262b2fe74cb92c4e247e97cf7af4f05efb0acefb7d |
|
MD5 | 1c2e9821a59d13e07ac6b692ecfa3676 |
|
BLAKE2b-256 | 3138ee054cf595b602c800301aacc4cebfc79c4dd9c4abd9c3ac37b41c918f32 |