Have fun! Wish I was there ... =P
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:users-
> [EMAIL PROTECTED] On Behalf Of Michael Foord
> Sent: Tuesday, July 29, 2008 1:30 PM
> To: Discussion of IronPython
> Subject: [IronPython] IronPython Tutorial at PyCon UK
>
> Hello all,
>
> Se
Hello all,
September 12-14th at the Birmingham Conservatoire is the 2nd UK Python
Conference, organised by the UK Python community.
This year the conference starts with a tutorial day, and Christian
Muirhead [#]_, Menno Smits and I will be running a half day IronPython
tutorial. The tutorial day
PythonEngine has been replaced w/ the DLR hosting APIs. You'll want to do
something more like:
ScriptRuntime sr = ScriptRuntime.Create();
sr.Globals["x"] = _x;
ScriptEngine se = sr.GetEngine("py");
There is a spec available for the hosting APIs at
http://compilerlab.members.winisp.net/dlr-spe
I am not able to run this code with ironpython 2.0
PythonEngine _pyEngine;
pyEngine = new PythonEngine();
_pyEngine.Globals["x"] = _x;
--
View this message in context:
http://www.nabble.com/PythonEngine-tp18720203p18720203.html
Sent from the IronPython mailing list archive at Nabble.com.
_
The high level differences are:
CPython 2.5 compatibility
DLR support
New hosting APIs
New dispatch/binding infrastructure
The beginnings of x-lang dynamic lang support
Tons of bug fixes & general Python compatibility work
---
It's located in Microsoft.Scripting.dll (not to be confused w/
Microsoft.Scripting.Core.dll).
The way you use this is you apply the assembly level attribute like:
[assembly: ExtensionType(typeof(String), typeof(MyStringExtensions))]
And then you define MyStringExtensions:
public static class M
Suggest me a book or link to find changes b/w ironpython 1 and 2.
--
View this message in context:
http://www.nabble.com/difference-b-w-ironpython-1-and-2.-tp18718624p18718624.html
Sent from the IronPython mailing list archive at Nabble.com.
___
Users
I could not find it "Microsoft.Scripting.Runtime.ExtensionTypeAttribute"
Han Kejing wrote:
>
> Maybe is the "Microsoft.Scripting.Runtime.ExtensionTypeAttribute"
> attribute.
> You can found some simples in IronPythonTest project.
>
> -
> i often get the error below, when "file" is on a network share :
During a nightly stress test, the program was set to run every 5
minutes, and the above error occured roughly 1 out of 4 times.
___
Users mailing list
Users@lists.ironpython.com
http://li
Hello,
I have a python 1.1.1.0 host in my c# app, and when doing a
engine.ExecuteFile(file);
i often get the error below, when "file" is on a network share :
(winXp client , windows ??? server)
21-07-2008 12:47:28 : Traceback (most recent call last):
21-07-2008 12:47:28 : File c:\sandbox
Maybe is the "Microsoft.Scripting.Runtime.ExtensionTypeAttribute" attribute.
You can found some simples in IronPythonTest project.
Follow my heart
Colin Han @ GrapeCity
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMA
I can not find this interface in ironpython 2.0 .What is the alternative if
this interface have been removed.
--
View this message in context:
http://www.nabble.com/IAttributesInjector-tp18701101p18701101.html
Sent from the IronPython mailing list archive at Nabble.com.
12 matches
Mail list logo