mirror of
https://github.com/Paul-Houser/StartTree.git
synced 2025-02-16 15:49:19 +01:00
14 lines
183 B
Python
14 lines
183 B
Python
|
#!/bin/python3
|
||
|
|
||
|
import yaml
|
||
|
|
||
|
file_dict = {}
|
||
|
num_columns = 0
|
||
|
|
||
|
with open(r'./config.yaml') as file:
|
||
|
file_dict = yaml.full_load(file)
|
||
|
file.close()
|
||
|
|
||
|
num_columns = len(file_dict)
|
||
|
|