uiri / toml

Python lib for TOML
MIT License
1.08k stars 190 forks source link

Is there a way to create a new key if it does not exist? #442

Open creeper-0910 opened 3 months ago

creeper-0910 commented 3 months ago

I don't think that is the right way to use it, but I would like to dynamically add a key (such as [table]). Is there a way to create a new key if it does not exist?

Thank you!