python get data from config and convert to integer code example
Example: config python load integer
import ConfigParser
config = ConfigParser.ConfigParser()
config.read("integers.ini")
print config.get("Integers", "b")Output5
print type(config.get("Integers", "b"))Output<type 'str'>
print config.getint("Integers", "b")Output5
print type(config.getint("Integers", "b"))Output<type 'int'>
Input Filesintegers.ini