Examples showing you how to work with file paths—names of directories and files—in Python 3.4 and above using pathlib Module
- Python 3.4 and above
To run the pathlib usages examples, you can do the following on your terminal for instance:
python3 display_directory_tree.py