|
Thanks to all for the help; I finally stumbled into
the solution.
Didja know that it's a bad idea to name a python
script file which imports ConfigParser, "ConfigParser.py"? Yeah, I did
too, but I wasn't thinking clearly.
Oh, well, I guess I'll remember for a while
now.
John
----- Original Message -----
Sent: Sunday, August 12, 2001 4:48
AM
Subject: Re: [python-win32] ini File
Management with win32ui
Hello John,
I suppose this does not help much, but
here is the result on my Win 98 system with Python 2.0:
PythonWin 2.0 (#8, Oct 16 2000,
17:27:58) [MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark
Hammond ([EMAIL PROTECTED]) -
see 'Help/About PythonWin' for further copyright information. >>>
import ConfigParser >>> p =
ConfigParser.ConfigParser() >>> dir
(p) ['_ConfigParser__defaults', '_ConfigParser__sections'] >>>
If you do not get any responses before
then, I will try this tomorrow when I have access to a Win 2k
system.
----- Original Message -----
Sent: Saturday, August 11, 2001 8:38
PM
Subject: [python-win32] ini File
Management with win32ui
I need to manage an ini file on Win2k and
NT4. After reading in the archives and the documentation I tried to
use ConfigParser with the followinfg results:
>>> import
ConfigParser >>> p = ConfigParser.ConfigParser() Traceback
(most recent call last): File "<interactive input>", line 1,
in ? TypeError: object is not callable: <module 'ConfigParser' from
'ConfigParser.py'>
According to PythonWin's About box, I'm using
ActivePython build 2.1.211.
Any help will be greatly
appreciated.
Thanks in advance,
John
|