[IronPython] compiling standalone programs

Kranar Drogin kranar at hotmail.com
Thu Jun 15 09:26:38 PDT 2006

To compile a Python source file to an executable, you can use the 
–X:SaveAssemblies option in the IronPython console.
Given a file source.py, you would just do:

IronPythonConsole –X:SaveAssemblies source.py

And this will produce a source.exe file.  The executable, however, will 
still need the IronPython.dll reference.

Kamal Mansouri

>So what is the status of compiling to standalone IL programs? Last thing I
>heard was that it was rather experimental.

>users mailing list
>users at lists.ironpython.com

More information about the users mailing list