how to go back a file using os in import python code example
Example 1: get the previous working directory in python
path = os.path.dirname(__file__)
print(path)
Example 2: python reference to back folder
os.chdir("../nodes")
path = os.path.dirname(__file__)
print(path)
os.chdir("../nodes")