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
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
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
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
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
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
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]>
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
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
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.
> >
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
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
12 matches
Mail list logo