Introduction to IronPython

IronPython is an implementation of the Python programming language targeting the .NET Framework . It is an open source implementation of Python.It is basically Microsoft version of Python.It can use any library.

IronPython is built almost entirely in C# , although some of its code is automatically generated by a code generator written in Python and makes extensive use of reflection. When a reference is made to a .NET object, IronPython automatically imports the types and methods available to that object. This results in a highly intuitive experience when working with .NET objects from within an IronPython script.

The language combines Python's compact, flexible, and powerful syntax and structure with the underlying support and capabilities offered by .NET. IronPython works as an extension to the .NET Framework, but it can also be used by .NET projects to take advantage of Python’s scripting power. Other than that, since IronPython is a real implementation of Python itself, there’s no need to learn a new language or extra features if you already know Python.

IronPython is implemented on top of the Dynamic Language Runtime (DLR), a library running on top of the Common Language Infrastructure that provides dynamic typing and dynamic method dispatch, among other things, for dynamic languages.

One of IronPython's key advantages is in its function as an extensibility layer to application frameworks written in a .NET language. It is relatively simple to integrate an IronPython interpreter into an existing .NET application framework.

Tags