Python 3 Make Subsection For Configparser
I'm trying to convert one open source project from Python 2 to Python 3 Project uses configobj module which is not supported for Python 3. Project uses subsections in config file
Solution 1:
Per the documentation, ConfigParser
only supports one section level, so unfortunately you can't do that using the ConfigParser
library.
If you're using this configobj
module, it says it supports Python 3. Since you're porting the project from 2 to 3, you might consider upgrading to the new version of the configobj
library at the same time.
Post a Comment for "Python 3 Make Subsection For Configparser"