Welcome to MSDN Blogs Sign in | Join | Help

September 2008 - Posts

Hosting IronPython made easier

With 2.0 Beta 5 coming out very soon, there is a new hosting helper class in there called IronPython.Hosting.Python . It has a few helper methods to create a ScriptRuntime or ScriptEngine and adds some Python-specific extension methods to ScriptRuntime
Posted by srivatsn | 12 Comments
Filed under: ,

Passing keyword args to C# methods from IronPython

In Python one can call functions with either the argument itself or a named argument i.e f(3) or f(x=3). Python also provides syntax to absorb excess arguments for either style of argument passing with either * or **. So for example for this function
Posted by srivatsn | 1 Comments
Filed under: ,
 
Page view tracker