Load yaml to a nested dict structure, and then parse to a class.
below is the code:
python
1 | class Struct(object): |
python
1 | with open(r'c:\Users\uidn4064\Desktop\project_data_analysis\FD69\lab\test.yaml') as stream: |
Load yaml to a nested dict structure, and then parse to a class.
below is the code:
1 | class Struct(object): |
1 | with open(r'c:\Users\uidn4064\Desktop\project_data_analysis\FD69\lab\test.yaml') as stream: |