Как загрузить файл toml в PythonPython

Программы на Python
Anonymous
 Как загрузить файл toml в Python

Сообщение Anonymous »

Как загрузить файл toml в файл Python
это мой код
файл Python:
import toml

toml.get("first").name

файл toml:
[first]
name = "Mark Wasfy"
age = 22
[second]
name = "John Wasfy"
age = 25


Подробнее здесь: https://stackoverflow.com/questions/751 ... -in-python

Вернуться в «Python»