with open(json_data_file_name, 'r') as f: tower_json_file_data = json.load(f) with open(json_data_file_name, 'w') as write_json_file: json.dump(my_json, write_json_file)