f2302df d8f43e1 f2302df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import sys,yaml filepath = "token.yaml" # Read the config file to get tokens/API keys def get_tokens(): tokendict={} with open(filepath,'r') as file: tokendict = yaml.safe_load(file) #print(tokendict) return tokendict