import json CREDFILE = ".credentials.json" with open('.config.json', 'r') as f: config = json.load(f)