>
>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
2009/6/20 :
> 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
http://lists.ironpython.com/listinfo.cgi/u
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
$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Debug
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
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
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
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 bui