Read INI-File?

Marc Vollmer marc.vollmer at mahr.de
Tue Feb 27 09:09:03 EST 2001


Hello,

I want to read information from an INI-File. But it gives me always the
default value. Why?

>>> import win32ui
>>> win32ui.SetProfileFileName('test.ini')
>>> k = win32ui.GetProfileVal('Move','MoveSpeed',0)
>>> k
0
>>>

test.ini
---------------------------------------------------------
[MOVE]
MoveSpeed=150


Thanks
Marc Vollmer







More information about the Python-list mailing list