Browse by Tags
All Tags »
IronPython (
RSS)
I’ve mentioned IterHelper in my last few posts and I’m glad to say that I finally released a version of it that I feel is solid. I’ve run my unit tests on Python versions 2.5 and 2.6 and also on IronPython...
The other day at the Software Development Study Group in Ann Arbor, Chris Marinos was demonstrating F# , a functional programming language targeting the .NET framework. Of course, this got me thinking...
Before I get started, I think I need to clear up some misconceptions that the Python community might have about LINQ. From the posts I’ve read, Python developers have dismissed LINQ as only a series of...
During my “Anatomy of an IronPython Application” presentation at Devlink, I mistakenly said that LINQ can be consumed from IronPython easily. I said this because I was thinking that IronPython 2.6 was...
While studying a particular portion of IronPython in Action , I came across a footnote to a blog post entitled Patterns in Python . By the end of the post, I found myself mentally tweaking a lot of my...
IronPython in Action ( IPIA ) gets the distinction of being the first book published on IronPython . As the first book, it has the responsibility of giving developers their first impression of IronPython...
It’s been too long since I last blogged which typically means I have too many competing ideas to settle on just one. So welcome to Note to Self 9! SharpDevelop is an open source IDE for the .NET platform...
This is a simple WCF host written in IronPython that consumes a library I wrote in C#. import clr clr.AddReferenceByPartialName("System.ServiceModel") clr.AddReferenceByPartialName("CSharpClass"...
I just spent the past week at the 2009 Microsoft MVP Summit where I got a chance to talk to the some of the crew behind the dynamic languages at Microsoft. When I mentioned that I had gotten nose, a Python...
Had an interesting problem while using the Hosting API the other day. Here's the exception message. [A]CSharpClass.Person cannot be cast to [B]CSharpClass.Person. Type A originates from 'CSharpClass...
The latest DLR code and documentation can be found at www.codeplex.com/dlr For the examples below, here is the Python script I'm using class Person(object): def __init__(self, name, phone): self.name...
Be careful naming your Python modules. If you name a Python file the same as an existing file in your Python install directory, you may get the following exception message: "'module' object...
The pyc.py file can compile you IronPython code into .NET executables. The pyc.py file is part of the sample code released with IronPython. It can be found here . Look for the "IronPython-2.0-Samples...