Created
May 21, 2020 07:44
-
-
Save Davisy/1cb4f8d8b3d056c2f6bdbd76c9d63229 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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