Archive for the 'Python' Category

Gvim 7.2 with Python 2.5/2.6 support Windows binaries

Tuesday, March 31st, 2009

Using the excellent instructions at ShowMeDo Jack Atkinson, I built a version of both Gvim and Vim for Windows with support for Python 2.5 and for Python 2.6.
Python 2.4: Support is already built-in in Gvim 7.2
Python 2.5: Install Gvim 7.2 and replace vim.exe and gvim.exe with the files in
Python 2.6: Install Gvim 7.2 and [...]

Unicode and permalinks

Monday, September 22nd, 2008

Working on integrating of automation scripts with Testuff, I’ve encountered an interesting Unicode-related issue I’d like to share.
The integration allows for an automated testing script to report the results of its run to the Testuff server. In order for the results to be grouped, displayed and summarized correctly, the automation script needs to tell the [...]

Accessing SVN revision via a browser

Sunday, August 10th, 2008

Most people who use Subversion know that you can access the repository with your browser to get a readonly interface that you can use to take a cursory look at the files in there.
This is how the Python repository looks like via

It says Revision 65620 at the top and I’ve always wondered if you [...]

Digging into Python’s PYC files

Friday, January 25th, 2008

One of the first things we needed to do when we started working on Testuff, was to figure out how are we going to update the installed desktop clients. This is one of those problems that seems to usually fall under the NIH syndrome, and like many others before me, I invented my own scheme. [...]

A simple lexer in Python

Sunday, October 21st, 2007

I’m taking a course on building compilers at the Israeli Open University and just learned how to use flex. It occurred to me that building a simple lexical analyzer should be quite easy with Python’s re module. A typical lexical analyzer read a stream of text input and splits it into a list of tokens. [...]

Building M2Crypto on Windows

Tuesday, September 25th, 2007

Here’s another installment in what seems to be turning into a series of compilation instructions for Windows of libraries that were born and raised on Linux.
Python has only the most basic support for secure SSL and HTTPS and if you know anything about how SSL works, you’ll know that support doesn’t provide enough security. I’ll leave the [...]