2.4 KiB
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 | |
Downloads | |
Help |
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:
- Setting up a development environment with easy access to utility scripts
- Building
- Running test
Chat/Communication
Join our Gitter-Chat under: https://gitter.im/IronLanguages/ironpython