[IronPython] [***SPAM*** Punteggio: 18.5/11.0] Re: Reading configuration file from Interpreter
fabio.pliger
fabio.pliger at siavr.it
Sun Dec 10 21:59:53 CET 2006
You can append the config file to sys.path...
cheers
Fabio
-----Original Message-----
From: <ftorres at incisif.net>
To: "Discussion of IronPython" <users at lists.ironpython.com>
Date: Sat, 9 Dec 2006 17:04:59 -0500
Subject: [***SPAM*** Punteggio: 18.5/11.0] Re: [IronPython] Reading
configuration file from Interpreter
Try to put your options in the file ipyw.exe.config or ipy.exe.config in the
ironpython folder.
I think that is where the options are going to be read.
I did not try, it is just a guess.
Frederic Torres
www.InCisif.net [http://www.incisif.net/]
Web Testing with C# or VB.NET
----- Original Message -----
From: "J. Merrill" <jvm_cop at spamcop.net>
To: "Discussion of IronPython" <users at lists.ironpython.com>
Sent: Saturday, December 09, 2006 4:57 PM
Subject: Re: [IronPython] Reading configuration file from Interpreter
>I didn't see that anyone else responded, so I'll take a shot -- the DLL
>could be locating a configuration file not for itself (dllname.dll.config)
>but one for the .EXE that loaded it (exename.exe.config). Given that you
>didn't tell us what the name of the DLL or configuration file is, that
>seems possible.
>
> If you've found the answer, please let us all know.
>
> At 11:52 AM 11/10/2006, erase_ego wrote
>>I have a .NET DLL which reads a configuration file using classes in
>>System.Configuration namespace. I am running methods in this DLL from
>>IronPython interpreter. It is working fine except that it is not able to
>>read the configuration file. I have the configuration file in the same
>>folder as the DLL. I have used AddReferenceToFileAndPath to add a
>>reference to this DLL. Any ideas. Thanks
> [snip]
>
> J. Merrill / Analytical Software Corp
>
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[http://lists.ironpython.com/listinfo.cgi/users-ironpython.com]
>
>
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[http://lists.ironpython.com/listinfo.cgi/users-ironpython.com]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061210/96cce792/attachment.html>
More information about the Ironpython-users
mailing list