Support python3.x
Use ini file instead of dict value.