find PATH folder code example
Example 1: pathlib path get directory of current file
import pathlib
pathlib.Path(__file__).parent.absolute()
Example 2: how to get all folders on path in python
os.walk(directory)
[x[0] for x in os.walk(directory)]