Friday, May 30

IronPython on Ubuntu

After reading on Jimmy Schementi's weblog that IronPython, the .NET implementation of Python, is just an apt-get install ironpython away, I thought I'd give it a whirl. Here's what I got.

Huh? Maybe Microsoft took that "significant whitespace" thing a little too literally...

It turns out that IronPython really wants you to use a dark background (bug report).

Ah, so that's why the background of Jimmy's blog is black!

As you can see from the screenshot, it's also a bit difficult to quit from the Ubuntu version of IronPython. That weird symbol is a result of pressing Ctrl+D. Even Ctrl+\, which usually helps in such cases, only produces a nasty .NET CLR traceback with no ill effects to the interpreter.

On the bright side, this is a good start. IronPython seems to be more or less functional, with speed comparable to CPython, even though the example code included in Debian looks a little "heavy" (see /usr/share/doc/ironpython/Tutorial).


Marius Gedminas said...

ROTFL. The significant whitespace comment made my day.

schmichael said...

Ha, my main frustration the first time I tried it was exiting as well! It feels more like a Windows application running under Wine than it does a "native" Linux app.

In the end I imported sys and just did a sys.exit() to get out cleanly.

Cyberdrow said...

The same issue with the background color and problems to exit the interactive shell here on MacOS.

Joseph Harrison said...

From this course of the version this would also be so difficult to get rid of those of the anticipation which were almost needed to be true, so you must need to go with those plans and idea. assignment help australia

caiyan said...

nike shoes
pandora charms
coach factory outlet
birkenstock shoes
coach factory outlet
ralph lauren
cheap nfl jerseys
louis vuitton outlet store
michael kors outlet clearance
ralph lauren outlet online

rose said...

I’m experiencing some small security issues with my latest blog, and I’d like to find something safer. Do you have any suggestions?

python training in bangalore|