Reading config.ini in PythonWin.

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Sep 11 23:17:42 EDT 2006


At Monday 4/9/2006 15:02, Dennis Lee Bieber wrote:

>         However, looking deeper... The same problem seems to be showing up
>using ConfigParser...
>         Odd... specifying a default on the .get() seems to override a
>default set on the instantiation AND overrides the value IN the file...
>But the defaults on the instantiation do not override a .get() without
>defaults.

Already reported as a bug: 
http://sourceforge.net/tracker/index.php?func=detail&aid=1090076&group_id=5470&atid=105470

>         I'd suggest using ConfigParser, if possible, rather than the win32ui
>functions as the former is portable, and does look to have a means of
>working...

Just don't use defaults to be safe...


Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list