Dear community,
I got it working...
I will notice you when I need further advice...
I got it working...
import json pathA = "C://test//abc//" pathB = "C://test//def//" paths = {"pathA": pathA, "pathB": pathB} # save with open("paths.json", "w") as write_file: json.dump(paths, write_file) #load with open("paths.json", "r") as read_file: paths = json.load(read_file) print(paths["pathA"]) print(paths["pathB"])I can use it to let the user store some paths in the json file and does not have to define it again and again.
I will notice you when I need further advice...