[IronPython] INI File For IronPython

Davy Mitchell daftspaniel at gmail.com
Tue Oct 2 22:38:13 CEST 2007

On 10/1/07, Andrew Schaeffer <aschaeffer at northps.com> wrote:
> Use .NET app.config file.

Thanks for this Andrew. Works well for read-only stuff.
Limitation for me is the need for a exe. To get the following example
to work you need a ipy.exe.config

IronPython console: IronPython 2.0A4 (2.0.10904.02) on .NET 2.0.50727.312
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import clr
>>> clr.AddReference("System.Configuration")
>>> from System.Configuration import *
>>> print ConfigurationManager.AppSettings["Title"]


Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel

More information about the Ironpython-users mailing list