KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have the following: config = ConfigParser() config.read('connections.cfg') sections = config.sections() How can I close the file opened with config.read ? In my case, as new sections/data are added to the config.cfg file, I update my wxtree widget. However, it only updates once, and I suspect it's because config.read leaves the file open. And while we are at it, what is the main difference between ConfigParser and RawConfigParser ?
Tags (comma-separated)
Save Edits
Cancel