-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: June 2010
SendKeys in Linux
SendKeys is a useful function in the Windows API which enables a program to send keystrokes. I was looking for an equivalent in Linux, first in Ubuntu at home, and then in Fedora 13 at work. For Ubuntu (Hardy Heron, … Continue reading
Strange behaviour using ctypes in IronPython
I came across some slightly unexpected behaviour with ctypes in IronPython. Maybe this is the wrong way to look at it – I should be amazed that ctypes works at all in IronPython. But I thought I would document it … Continue reading
Posted in Python, Uncategorized
Leave a comment
ctypes and addressof
Here’s a gotcha I came across in ctypes a while ago. Have a look at the code below, and see if you can work out what it will print: If you’re using Python 2.x or Python 3.x, then you might … Continue reading
Python decorators
I have been learning about decorators recently. It is interesting functionality, but also one of those areas where the issues just keep appearing, the more you look at it. There are some good articles on it here and here To … Continue reading
Ubuntu upgrade
I wanted to install an Ubuntu upgrade on a very old machine, from 8.04 LTS (Hardy Heron) to 10.04 LTS (Lucid Lynx). I like Ubuntu, so please do not take this post as a moan about it. (See here for … Continue reading