[Python] How to load toml file in python

Discussão em 'Python' iniciado por Stack, Fevereiro 21, 2025.

  1. Stack

    Stack Membro Participativo

    How to load toml file into a python file that my code

    python file:

    import toml


    toml.get("first").name


    toml file :

    [first]
    name = "Mark Wasfy"
    age = 22
    [second]
    name = "John Wasfy"
    age = 25

    Continue reading...

Compartilhe esta Página