Extracting bookmark icons (favicons) from Firefox
Favicons are those little icons sites have that end up in your bookmark list if you add the site there. I was wondering where were all these icons stored when I ran across this post that explains that...
View ArticleMy wxPython code
It’s been a year now since I’ve started using Python and wxPython and it has been a wonderful experience. What I didn’t realize until now was how much useful code I’ve written during this time, code...
View ArticleTracking down rogue print statements
I’ve spend the last hour hunting for a rogue print somewhere in my code. I almost never use a debugger these days, relying almost exclusively on debug prints. Python makes it easy and Scite makes that...
View ArticleYouTube runs on Python
I love Python, I really do. It has clear syntax, a nice library support and I feel very productive using it. But Python is an interpreted language and it’s slow. You don’t feel it until you do...
View ArticleBuilding M2Crypto on Windows
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...
View ArticleA simple lexer in Python
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...
View ArticleDigging into Python’s PYC files
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...
View ArticleAccessing SVN revision via a browser
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...
View ArticleUnicode and permalinks
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...
View ArticleGvim 7.2 with Python 2.5/2.6 support Windows binaries
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...
View Article