Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #data #yaml #file #python
ADD COMMENT
Topic
Name
1+6 =