[Tutor] Iron Python
andrew clarke
mail at ozzmosis.com
Sat Mar 4 10:19:44 CET 2006
On Sat, Mar 04, 2006 at 12:21:56AM -0800, ryan luna wrote:
> Hello, i have a question about Iron Python, what exactly does it do?
> i know its something about .net but i still dont understand exactly
> what it does, To use it do you still write your scripts in the Python
> IDLE, or what 0-o,
It's Microsoft's version of Python (written in C#) that runs on top of
the .NET Framework, so it can generate .exe files for .NET, among other
things.
A short demo:
D:\devel\IronPython>IronPythonConsole.exe
IronPython 1.0.2237 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> print "Hello world."
Hello world.
>>> ^Z
D:\devel\IronPython>type hello.py
print "Hello world."
D:\devel\IronPython>IronPythonConsole.exe hello.py
Hello world.
D:\devel\IronPython>IronPythonConsole.exe -O -X:SaveAssemblies hello.py
Hello world.
D:\devel\IronPython>dir hello.exe
Directory of D:\devel\IronPython
2006-03-04 20:16 3,072 hello.exe
D:\devel\IronPython>hello.exe
Hello world.
Regards
Anderw
More information about the Tutor
mailing list