remove sections and values from config object

53 views
Skip to first unread message

Glen Rubin

unread,
Jan 27, 2023, 6:41:56 PM1/27/23
to Kivy users support
I am working with the kivy config object: https://kivy.org/doc/stable/api-kivy.config.html

It works well and I am able to add sections and values.  What I don't see is the option to remove sections and values?  I guess the ini file can just be deleted entirely?

thanks!

Elliot Garbus

unread,
Jan 27, 2023, 7:10:54 PM1/27/23
to kivy-...@googlegroups.com

Kivy’s config is based on Python’s config parser.

See: https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.remove_option

 

And yes you can delete the ini file.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/991cbd7d-41f8-45e4-8f8a-e9e168337e15n%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages