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.
Comparison of IronPython vs. C# for 'Hello World'
c#:
using System;
class Hello
{
static void Main()
{
Console.WriteLine("Hello World");
}
}
IronPython:
print("Hello World")
IronPython 3 targets Python 3, including the re-organized standard library, Unicode strings, and all of the other new features.
Builds of IronPython 3 are not yet provided.
Make sure you clone the Git repository recursively (with --recurse
) to clone all submodules.
On Windows machines, start a Visual Studio command prompt and type:
> make
On Unix machines, make sure Mono is installed and in the PATH, and type:
$ make
Since the main development is on Windows, Mono bugs may inadvertantly be introduced
- please report them!
IronPython 3 targets .NET 4.5 and .NET Core 2.0.