Jan-18-2023, 06:14 PM
(This post was last modified: Jan-18-2023, 08:14 PM by deanhystad.)
Use json.load, not json.loads
json_tree_columns = ('Logo', 'Nombre', 'Tenant ID', 'Secret ID', 'Token', 'Periocididad', 'Region') with open('personal.json', 'r') as file: # <- Originally was missing colon data = json.load(file) for count, record in enumerate(data['Clientes'], start=1): json_tree.insert(parent='', index="end", iid=count, text="", values=[record[col] for col in json_tree_columns])