Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import json
- class Params:
- def __init__(self, path):
- with open(path) as params_file:
- params = json.load(params_file)
- self.__dict__.update(params)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement