Hi,

I am new in python-list and quite new in Python programming as well. I
am working mainly with GIS and using Esri's geoprocessing tools.

I want to use .ini file to set the parameters, especially paths, in my
project. PythonWin 2.1. is my version.

Why do I get the default back in the case below? Any way around?

The Paths,Temp is c:/temp.

>>> win32ui.SetProfileFileName('D:\\config.ini')
>>> Temp = win32ui.GetProfileVal('Paths','Temp','c:/')
>>> print Temp
c:/
>>>
-- 

I saw one old thread but didn't se any solution there.

W.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to