IronPython
the Python programming language for the .NET Framework
IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.
-
Download IronPython 2.6
-
Try Python in the browser
Quickly run Python code in your browser, without installing IronPython.
-
# namespaces are modules from System.Collections.Generic import Dictionary # indexers constrains type d = Dictionary[str, int]() # Python idioms just work d['Hello'] = 1 d['Hi'] = 2 # this gives an error d[3] = 3Learn more with the online tutorial:
-
Why IronPython?
Python is an excellent addition to the .NET Framework, providing Python developers with the power of the .NET framework. Existing .NET developers can also use IronPython as a fast and expressive scripting language for embedding, testing, or writing a new application from scratch.
The CLR is a great platform for creating programming languages, and the DLR makes it all the more better for dynamic languages. Also, the .NET framework (base class library, presentation foundation, Silverlight, etc) give an amazing amount of functionality and power to developers.
-
Announcements
December 11, 2009 - IronPython 2.6 Final, our latest stable release of IronPython 2.6, was released.
November 18, 2009 - see Dino Viehland's talk at PDC 2009 on utilizing Python from statically typed .NET languages such as C# here.
October 21, 2009 - IronPython 2.6 for .NET 4.0 Beta 2, an IronPython 2.6 offshoot designed to run under the DLR distributed with .NET 4.0 Beta 2, was released.
August 2009 - want to see IronPython support in a future version of Visual Studio? Please submit your valuable feedback here
March 26, 2009 - we gave several talks at PyCon 2009:
Dino Viehland's talk on the internals of IronPython
Jim Hugunin's talk on future directions of IronPython