Monthly Archives: August 2012

Renaming files in python

I had downloaded 2012 id pics but couldn’t view them due to the following error . Error interpreting JPEG image file (Not a JPEG file: starts with 0x89 0x50) On googling I found out that the image had to be renamed as a ‘.png file’ . But I couldnt do them manually as there are […]

Multithreading in pygtk

My friend Ranganath had some problem with implementing a stopwatch in Java. I told him it would be a piece of cake in python and I would do it in a hour or so . The only thing I do was to call a callback function , whenever I clicked the start button which would […]