Given the following format (.properties or .ini):
propertyName1=propertyValue1 propertyName2=propertyValue2 ... propertyNam
this works for me.
from pyjavaproperties import Properties p = Properties() p.load(open('test.properties')) p.list() print p print p.items() print p['name3']