[IronPython] [python] Re: INI File For IronPython

Michael Foord fuzzyman at voidspace.org.uk
Wed Oct 3 00:00:20 CEST 2007


Davy Mitchell wrote:
> On 10/2/07, JoeSox <joesox at gmail.com> wrote:
>   
>> Feel free to look at pswrdgeniron (IronPython GUI for pswrdgen).
>> http://www.codeproject.com/useritems/pswrdgeniron.asp
>> The module opens itself and reads in the first few lines, which each
>> setting is defined in order on a line.  I used format of
>> "VARNAME::value" with the value encoded as a string so it is easy to
>> split and assign to a self.VARNAME. From there it's easy to bridge to
>> IronPython.
>>     
>
> Interesting - reminds me of Pythoncard's resource file. Well a little :-)
>
>   
>> Why not just use ConfigObj ?
>>     
>
> I am using ConfigObj :-) Just considering losing the CPython
> dependency if there was a drop-in DotNet replacement...
>   

I mean that ConfigObj should work with IronPython - if it doesn't I'll 
fix it.

Michael


> Cheers,
> Davy
>
>   




More information about the Ironpython-users mailing list