Skip to content

Instantly share code, notes, and snippets.

@Davisy
Created May 21, 2020 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Davisy/1cb4f8d8b3d056c2f6bdbd76c9d63229 to your computer and use it in GitHub Desktop.
Save Davisy/1cb4f8d8b3d056c2f6bdbd76c9d63229 to your computer and use it in GitHub Desktop.
import yaml
#read yaml file
with open('my_config.yaml') as file:
yaml_data= yaml.safe_load(file)
print(yaml_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment