Sign In
IronPython Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
IronPython
IronPython for ASP.NET VS integration
Presentations
Talks
TechEd
Archive
Archives
March 2008
(1)
February 2008
(1)
June 2007
(3)
May 2007
(1)
January 2007
(1)
October 2006
(3)
September 2006
(9)
IronPython Sample: Pyc
MSDN Blogs
>
IronPython Blog
>
IronPython Sample: Pyc
IronPython Sample: Pyc
IronPython
2 Oct 2006 3:40 PM
Comments
0
This sample shows developers how to create .NET executables directly out of IronPython scripts. The readme.htm in the download (
download page
: IronPython-1.0-Samples-Pyc.zip) will get you started.
IronPython’s Hosting APIs can be used to compile Python scripts into DLLs, console executables, or Windows executables. The pyc.py script included in this tutorial leverages these hosting APIs and can be used to compile other Python scripts. It provides a variety of flags such as the ability to specify the target platform of the .NET assembly (e.g., x64).
While the assemblies produced by the IronPython Hosting APIs are true .NET assemblies, the dynamic nature of the Python language makes it difficult to use these from other .NET languages. In short, this means that attempting to import Python types into other .NET languages such as C# is not recommended.
Blog - Comment List MSDN TechNet
Loading...