For those curious about the dynamic feature, here's a code snippet that demonstrates using IronPython from C# 4: ScriptRuntime py = Python.CreateRuntime(); dynamic random = py.UseFile("random.py"); var items = Enumerable.Range(1, 7).ToArray(); random.shuffle(items);
(This references the shuffle function in standard Python library file "random.py".) On Mon, Oct 27, 2008 at 9:33 AM, Srivatsn Narayanan <[EMAIL PROTECTED]>wrote: > Hello IronPython Community, > > > > This is a special release of IronPython designed to work with the Visual > Studio 2010 > CTP<https://connect.microsoft.com/VisualStudio/content/content.aspx?ContentID=9790>. > This release will let you try out C# 4.0's new Dynamic feature, which allows > you to easily call into dynamic object models such as IronPython modules > from your C# code. > > > > To get started using IronPython with C#'s Dynamic feature: > > 1. Install this > .MSI<http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=18448>on > your Visual Studio 2010 CTP Virtual PC image, either by enabling network > access or sharing a host folder in Virtual PC's settings. > > 2. In Visual Studio 2010, click the *CTP Walkthroughs* link on the > Start Page and browse to the *Visual Studio* walkthroughs. Follow along > with the *Dynamic Programming in C#* walkthrough. > > > > This release is not related to the recently released IronPython 2.0 RC1. In > fact, this is based on source code from the beta4 timeframe. Also note that > this release will only work with the VS10 CTP and not against any other > version of .NET. > > > > You can download the release here - > http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=18448 > > > > The IronPython Team > > > > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com