Answers for "how to read from yml file in python"

1

read data from yaml file in python

import yaml

# Read YAML file
with open("data.yaml", 'r') as stream:
    data_loaded = yaml.safe_load(stream)
Posted by: Guest on March-03-2021

Code answers related to "how to read from yml file in python"

Python Answers by Framework

Browse Popular Code Answers by Language