IronLanguages / ironpython2

Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).
http://ironpython.net
Apache License 2.0
1.08k stars 229 forks source link
IronPython 3 has been released and is now available for download at https://github.com/IronLanguages/ironpython3!

IronPython

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/.

What? Where?
Windows/Linux/macOS Builds Azure build status Github build status
Downloads NuGet Release
Help Gitter chat StackExchange

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.

IronPython 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 *

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Documentation

Documentation can be found here: http://ironpython.net/documentation/dotnet/

Additional information

Please see http://wiki.github.com/IronLanguages/main for information on:

Chat/Communication

Join our Gitter-Chat under: https://gitter.im/IronLanguages/ironpython