17 lines
254 B
Python
17 lines
254 B
Python
import json
|
|
|
|
|
|
# Config = {
|
|
# api_token: "xxxxxxxx"
|
|
# }
|
|
Config = {}
|
|
|
|
|
|
def config_load():
|
|
global Config
|
|
with open('config.json', 'r') as file:
|
|
Config = json.load(file)
|
|
|
|
|
|
config_load()
|
|
print('Конфигурация загружена.')
|