Patrick van der Willik wrote:
Ok, I'm confused here. I'm very new to Python aswell, so this probably
doesn't help very much.
I think this is a big part of your issue. IronPython is a faithful
implementation of Python and what you are tripping over are the Python
scoping rules and the way mod
.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Patrick van der Willik
Sent: Tuesday, June 16, 2009 2:14 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding IronPython and calling python functions
from C#
Ok, I'm confused here. I'm very new to Pyth
Ok, I'm confused here. I'm very new to Python aswell, so this probably
doesn't help very much. As oppossed to trying to constanly import a huge
set of require variables all the time, I thought it might be a good idea
to introduce 1 object into the globals space which will host a variety
of the
ers-
> boun...@lists.ironpython.com] On Behalf Of Patrick van der Willik
> Sent: Monday, June 15, 2009 5:38 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Embedding IronPython and calling python
> functions from C#
>
> The OnConnect is in the autoexec.py yes
u want so that you can run the
same code against multiple
scopes w/ different sets of bound variables based upon the current
request.
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Patrick van
der Willik
Sent: Monday
ing down the
scope/engine.
*From:* users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] *On Behalf Of *Dody
Gunawinata
*Sent:* Thursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Embedding IronPython and calling
python functions fr
ltiple
scopes w/ different sets of bound variables based upon the current request.
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Patrick van der Willik
Sent: Monday, June 15, 2009 4:26 PM
To: Discussion of IronPython
Subject
.
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Patrick van der Willik
Sent: Monday, June 15, 2009 4:26 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding IronPython and calling python functions
from
@lists.ironpython.com] *On Behalf Of *Dody
Gunawinata
*Sent:* Thursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Embedding IronPython and calling
python functions from C#
You can read all yours file scripts, then using StringBuilder to
combine then
ilto:users-boun...@lists.ironpython.com] *On Behalf Of *Dody
Gunawinata
*Sent:* Thursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Embedding IronPython and calling python
functions from C#
You can read all yours file scripts, then using StringBuilder to
com
n interact with the python modules for as
long as necessary before closing down the scope/engine.
*From:* users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] *On Behalf Of *Dody
Gunawinata
*Sent:* Thursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
hursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Embedding IronPython and calling python
functions from C#
You can read all yours file scripts, then using StringBuilder to
combine then and call CreateScriptSourceFromString()
Then you can call your
n...@lists.ironpython.com] *On Behalf Of *Dody Gunawinata
*Sent:* Thursday, June 11, 2009 9:09 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Embedding IronPython and calling python
functions from C#
You can read all yours file scripts, then using StringBui
9:09 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding IronPython and calling python functions
from C#
You can read all yours file scripts, then using StringBuilder to combine then
and call CreateScriptSourceFromString()
Then you can call your functions within the combin
You can read all yours file scripts, then using StringBuilder to combine
then and call CreateScriptSourceFromString()Then you can call your functions
within the combined scripts normally. Pretty much you are creating a giant
source code on the fly.
On Thu, Jun 11, 2009 at 5:32 PM, Patrick van der
I'm currently attempting to embed the IronPython 2 runtimes into an
existing application written in C#. However, I find the amount of
documentation lacking on what I'm trying to do. I currently have a
proof-of-concept version which uses Lua and LuaInterface, but the people
who have to write the
16 matches
Mail list logo