1. Read yml file
// Get profile path
config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "config.yml")
if os.path.isfile(config_file_path):
// Reading configuration
with open(config_file_path, "r") as f:
config = yaml.load(f, Loader=yaml.FullLoader)
else:
config = {}