Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhixian001/python-apps
Some python apps.
https://github.com/zhixian001/python-apps
Last synced: 8 days ago
JSON representation
Some python apps.
- Host: GitHub
- URL: https://github.com/zhixian001/python-apps
- Owner: zhixian001
- License: gpl-3.0
- Created: 2017-04-09T08:05:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T06:53:59.000Z (over 7 years ago)
- Last Synced: 2023-10-10T12:28:21.009Z (about 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-apps
## single codes
1. directory.py
1. description
- show directoryies and files in tree structure
2. how to use
- Just place in directory where you want to see its subdir structure, Execute with python(ver>=3)
3. how it works
- needs os, sys
- class Directory
- member : name, dir\_list, file\_list, temp_list
- methods
- \_\_init\_\_([name]) : if called, automatically get name and using os.listdir(), save file names to file\_list, directory names to dir\_list. For each dir\_list`s indexs, make Directory class recursively.
- tree([depth=0]) : print dir structure
4. improvement plan
1. Can use in any OS. current version works only in linux and Windows10. Encoding raises this problem. (win7 = cp949)
2.