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

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

Сообщение Anonymous »

Как загрузить файл toml в файл python
, что мой код < /p>
python file: < /p>
import toml

toml.get("first").name
< /code>
toml file: < /p>
[first]
name = "Mark Wasfy"
age = 22
[second]
name = "John Wasfy"
age = 25


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

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