convert *.ini to python model