config.read("""[one]
key = 42
key2 = None""")
config.one.key, type(config.one.key)
config.one.key2, type(config.one.key2)
config.get('one', 'key'), config.get('one', 'key2')
Converting ConfigParser values to python data types