Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

IronPython 3

There is still much that needs to be done to support Python 3.x. We are working on it, albeit slowly. We welcome all those who would like to help!

Official Website

IronPython is an open-source implementation of the Python programming language which is tightly integrated with .NET. IronPython can use .NET and Python libraries, and other .NET languages can use Python code just as easily.

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

Comparison of IronPython vs. C# for 'Hello World'

C#:

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

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.

State of the Project

The current target is Python 3.4, although features and behaviors from later versions may be included.

See the following lists for features from each version of CPython that have been implemented:

Upgrading from IronPython 2

For details on upgrading from IronPython 2 to 3 see the Upgrading from IronPython 2 to 3 article.

Differences with CPython

While compatibility with CPython is one of our main goals with IronPython 3, there are still some differences that may cause issues. See Differences from CPython for details.

Installation

Builds of IronPython 3 are not yet provided.

Build

See the building document

Since the main development is on Windows, bugs on other platforms may inadvertently be introduced - please report them!

Supported Platforms

IronPython 3 targets .NET Framework 4.6, .NET Core 2.1/3.1 and .NET 5.0. The support for .NET Core and .NET 5 will follow the lifecycle defined on .NET Core and .NET 5 Support Policy.