Re: [IronPython] Application.config

2007-12-19 Thread Joshua J. Pearce
So I just place a file called, ipy.exe.config in the directory with ipy.exe, and that's it? On Dec 4, 2007 8:15 PM, 闫 力昕 <[EMAIL PROTECTED]> wrote: > ipy.exe.config > > Here is my running very good ipy.exe.config (这里是我的ipy.exe.config 运行的很好) > > > http://schemas.microsoft.com/.NetConfiguration/v2

[IronPython] Application.config

2007-12-04 Thread Joshua J. Pearce
Our product, written in C#, has a Business Logic Layer project that gets compiled into a DLL. I can import the DLL and dependencies into IPY no problem, but where I run into trouble is that the Business layer code relies heavily on a configuration section within the web.config file. Does anyone kno

Re: [IronPython] [python] Re: Need a Good Embedded Example

2007-10-22 Thread Joshua J. Pearce
oblem as you won't be executing code one line at a time... suggested my code would work. - Josh Pearce On 10/20/07, Michael Foord <[EMAIL PROTECTED]> wrote: > > Joshua J. Pearce wrote: > > Thanks! Where can I find help with getting the python engine to deal > > with

Re: [IronPython] [python] Re: Need a Good Embedded Example

2007-10-19 Thread Joshua J. Pearce
as a scripting language for my ASP.NET app, so I really need to know how to build my own shell in C# in addition to the help you all have already given me in using my c# classes in the python code. Thanks! On 10/19/07, Michael Foord <[EMAIL PROTECTED]> wrote: > > Joshua J. Pearce wrote: &g

Re: [IronPython] Need a Good Embedded Example

2007-10-19 Thread Joshua J. Pearce
vate void button1_Click(object sender, EventArgs e) { pe.ExecuteCommand(textBox1.Text); } } Thanks, Josh Pearce On 10/18/07, Joshua J. Pearce <[EMAIL PROTECTED]> wrote: > > I am very sorry! I just noticed this: > > ScriptDomainManager.CurrentMan > ager.Host.Defa

Re: [IronPython] Need a Good Embedded Example

2007-10-18 Thread Joshua J. Pearce
ECTED]> wrote: > > On 10/18/07, Joshua J. Pearce <[EMAIL PROTECTED]> wrote: > > My application is ASP.NET, I hardly think integrating CPython is going > to be a better choice. > > You never mentioned you were using ASP.NET. You have mentioned C#. > > > Is is po

Re: [IronPython] Need a Good Embedded Example

2007-10-18 Thread Joshua J. Pearce
ist in the same scope as an IPY engine, to that engine so that an arbitrary one of those methods might be called by python code code that that engine executes? Thanks, Josh Pearce On 10/18/07, JoeSox <[EMAIL PROTECTED]> wrote: > > On 10/18/07, Joshua J. Pearce <[EMAIL PROTECTED]>

Re: [IronPython] Need a Good Embedded Example

2007-10-18 Thread Joshua J. Pearce
Ah, because I am trying to use Iron Python as a scripting language for my application. I want to expose a limited subset of my appservice functions to the scripting language,and let users write scripts. On 10/18/07, JoeSox <[EMAIL PROTECTED]> wrote: > > On 10/18/07, Joshua J. Pe

Re: [IronPython] Need a Good Embedded Example

2007-10-18 Thread Joshua J. Pearce
hope there is a way to call the method from within IP scripts. Many thanks! - Josh Pearce On 10/18/07, JoeSox <[EMAIL PROTECTED]> wrote: > > On 10/17/07, Joshua J. Pearce <[EMAIL PROTECTED]> wrote: > > OK, please forgive my earlier vagueness. What I want to do is

Re: [IronPython] Need a Good Embedded Example

2007-10-17 Thread Joshua J. Pearce
d? Thanks, -Josh Pearce On 10/17/07, JoeSox <[EMAIL PROTECTED]> wrote: > > On 10/17/07, Joshua J. Pearce <[EMAIL PROTECTED]> wrote: > > I am looking for an embedded IronPython 2.0 example beyond the simple > hello > > world one I quoted before. > >

[IronPython] Need a Good Embedded Example

2007-10-17 Thread Joshua J. Pearce
I am looking for an embedded IronPython 2.0 example beyond the simple hello world one I quoted before. What I want to know is: 1) How to get variable output from the script back to my c# code. 2) How to call scripts with multiple statements. 3) Do all variables need to be set on the script obje

[IronPython] Need a Good Embedded Example

2007-10-16 Thread Joshua J. Pearce
I have been looking for a good example of embedding IronPython in a c# application. I am under the impression that there have been some major changes in the way this is done from version 1.1 to 2.0. This is what I found at the Python Cookbook site: namespace IronPythonScriptHost { class Progr