IronPython

Enumerating GAC Assemblies with IronPython

 

I haven't been able to play with IronPython for a while now, work has been rather busy and I have also just received a copy of Programming .NET Security from the folks at O'Reilly to read and review. So far I am rather impressed with the book. This morning when I woke up I decided to sit down and play around with IronPython again. I love the fact that I can simple write a script yet have the power of the .NET Framework available to me at the same time. With the following script we can...

Windows Groups and Python

 

So because of my recent interests with IronPython, I decided I should learn Python to better understand everything. Python really appears to be a nice language (from the weekend that I spent with it). It feels slightly strange not using curly braces to scope methods though. Anyway, I wanted to come up with a nice example of how Python works within Windows to help me better understand the language. I was watching Crossing Jordan tonight with Megan when I though of the script I threw together on Friday at work and how it would be a...

IronPython and Generics

 

So lately I have been going through the source in Jim Hugunin's release of IronPython. This has been a really great experience for me as programming language design has always peaked my interest. I just got to thinking as I went through some of his code, how could generics help out when writing this language. So for an example I took a look at the Slot class and just a random method from his CodeGen class. The Slot class looks something like this:   public abstract class Slot { public abstract void emitGet(CodeGen cg); public abstract...