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.
IronPython can be obtained at http://ironpython.net/.
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 is a Dynamic Language that runs on the .NET DLR (Dynamic Language Runtime) in contrast with VB.NET and C# which are static languages.
Iron Python can also import DLL files compiled in other languages and use functions defined therein. For example:
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import *
Documentation can be found here:
- http://stackoverflow.com/documentation/ironpython/topics
- http://ironpython.net/documentation/dotnet/
Please see http://wiki.github.com/IronLanguages/main for information on:
- Setting up a development environment with easy access to utility scripts
- Building
- Running test
Join our Gitter-Chat under: https://gitter.im/IronLanguages/main