IronPython
What’s New in IronPython 2.7.2?
With IronPython 2.7.2 RC now available, the feature set for 2.7.2 is now finalized. The major features for this release are zipimport, the sqlite3 module, pyc.py improvements, and preliminary support for Android and Windows Mobile 7, some changes to the package layout, and NuGet packages.
There’s currently no help in setting up the app; use the normal templates for the platform, and then embed IronPython in the app. There’s a lot more work to be done in this area, which is why these are considered preliminary. If you try to use them in production we’d love bug reports, but you still get to keep the pieces.
zipimport
The zipimport module allows IronPython to import modules from a .zip file. To use it, simply add the path of the .zip file to sys.path, and it will automatically be searched.sqlite3
The sqlite3 module provides access to sqlite3 databases. It uses the csharp-sqlite library so that the implementation is fully managed, which means that it will work from Silverlight, Android, and Windows Phone as well.Improvements to pyc.py
The pyc.py script (in Tools\Scripts\pyc.py) is now able to generate standalone exectuables. For example, you could use it to generate a standalone version of pyc.py:> ipy Tools\Scripts\pyc.py /target:exe /standalone /main:Tools\Scripts\pyc.py
Mobile Support
IronPython 2.7.2 includes preliminary support for Android and Windows Phone 7.5 development (iOS support is still planned, but it’s much more difficult). Android requires using Xamarin’s Mono for Android, while Windows Phone is supported natively. Both platforms are similar to Silverlight yet also very different, and Android is far more capable.There’s currently no help in setting up the app; use the normal templates for the platform, and then embed IronPython in the app. There’s a lot more work to be done in this area, which is why these are considered preliminary. If you try to use them in production we’d love bug reports, but you still get to keep the pieces.