libinstaller/lib/io.py

7 lines
180 B
Python
Raw Normal View History

import json
# load library data from json file
def load_lib_data(lib_path):
with open (lib_path, 'r') as config_file:
data = json.load(config_file)
return data