Browse by Tags

All Tags » IronPython (RSS)
IterHelper Released
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...

Posted by dhawley | with no comments

Euler Problem 1 Revisited
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...

Posted by dhawley | with no comments

Does IronPython need LINQ?
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...

Posted by dhawley | with no comments

Filed under: , ,

IronPython and LINQ: A Devlink Correction
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...

Posted by dhawley | with no comments

Filed under: , ,

Note to Self 11 – Patterns in Python, Process is Everything, Selenium
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...

Posted by dhawley | 1 comment(s)

Book Review: IronPython in Action
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...

Posted by dhawley | with no comments

Filed under: , ,

Note to Self 9 – Exploring SharpDevelop and Going off Topic
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...

Posted by dhawley | with no comments

Filed under: , , ,

Writing an IronPython WCF Host
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"...

Posted by dhawley | with no comments

Filed under: , ,

Running nose with IronPython
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...

Posted by dhawley | with no comments

Filed under: , , ,

IronPython Exception: [A]Person cannot be cast to [B]Person
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...

Posted by dhawley | with no comments

Filed under: , ,

Note to Self 8 - IronPython2, Hosting, DLR
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...

Posted by dhawley | with no comments

Filed under: , , , ,

Note to Self 7 - Naming Python Modules, SciTE, IronPython and __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...

Posted by dhawley | with no comments

Filed under: , , ,

Note to Self 6 - IronPython, pyc.py and SciTE
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...

Posted by dhawley | with no comments

Filed under: , ,