import json def loadset(): with open("./settings.json", "r", encoding = "utf-8") as f: d = json.load(f) return d