[IronPython] Twisted on IronPython

2009-06-19 Thread Seo Sanghyeon
I have started porting Twisted to IronPython. Progress is to be tracked on this Trac ticket: http://twistedmatrix.com/trac/ticket/3882 Buildbot is up: http://buildbot.twistedmatrix.com/builders/ubuntu32-ironpython Just in case you don't know, Twisted is an event-driven networking engine written

[IronPython] Importing .py files embedded as resources (from Silverlight)

2009-06-19 Thread Thibaut Barrère
Hello, this is my first post here, so hi! I'm currently porting some IronPython library I'd like to use from a C# or IronRuby Silverlight app. For that purpose, I'm creating a Silverlight C# library which embeds all the required .py files and try to compile/execute them at runtime. Is there a

Re: [IronPython] Importing .py files embedded as resources (from Silverlight)

2009-06-19 Thread Jimmy Schementi
No special support; you'll have to iterate over all the files as resources, get their contents, and do the following: var scope = scriptEngine.CreateScope(); scriptEngine.CreateScriptSourceFromString(code).Execute(scope); Though, why not just put the python files in the XAP? Then importing will

Re: [IronPython] Importing .py files embedded as resources (from Silverlight)

2009-06-19 Thread Thibaut Barrère
Hi Jimmy, No special support; you'll have to iterate over all the files as resources, get their contents, and do the following: var scope = scriptEngine.CreateScope(); scriptEngine.CreateScriptSourceFromString(code).Execute(scope); Though, why not just put the python files in the XAP? Then

Re: [IronPython] Importing .py files embedded as resources (from Silverlight)

2009-06-19 Thread Jimmy Schementi
You can execute Python code from Ruby in 2 ways: 1. Use the Hosting API from Ruby. I have a python.rb lying around that I usually use which demonstrates what to do: http://gist.github.com/132558 (this one is for Silverlight, line 10 will have to be slightly changed for the Desktop). 2.

[IronPython] IronPython 2.6 CodePlex Source Update

2009-06-19 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/55104. ADDED SOURCES

Re: [IronPython] IronPython 2.6 CodePlex Source Update

2009-06-19 Thread Seo Sanghyeon
2009/6/20 merl...@microsoft.com: Once this is in I’ll be updating Igor’s prototype for sys.settrace support for IronPython and adding that. This is exciting. -- Seo Sanghyeon ___ Users mailing list Users@lists.ironpython.com

Re: [IronPython] Importing .py files embedded as resources (from Silverlight)

2009-06-19 Thread Thibaut Barrère
Use the Hosting API from Ruby. I have a “python.rb” lying around that I usually use which demonstrates what to do: http://gist.github.com/132558 (this one is for Silverlight, line 10 will have to be slightly changed for the Desktop). I used that and after a bit of tweaking I got what