I have a config file, key and value pairs without sections. I'm trying to use configobj to parse it, but comments on my config files start with // rather than #
In the configobj documentation I found an example but it doesn't work to me:
from configobj import ConfigObj
class ConfigObjCustom(ConfigObj):
COMMENT_MARKERS = ['//']
config = ConfigObjCustom('hello.conf')
Is there a way to extend configobj to support other comment markers?