Debugging Python Scripts
by Mandar Vaze on December 24, 2008
in Code, Python, Tutorials
Found a great way to debug python scripts interactively using pdb aka Python Debugger. It is similar to gdb used on *nix.
Essentially you import pdb in the beginning of the script, and wherever you need to start debugging, add following statement :
pdb.set_trace()
Now you execute the script from command line, and execution will stop where you have added set_trace() call. You are presented with pdb prompt. There after it is similar to gdb commands.
Calendaring with Thunderbird 3 Beta
by Mandar Vaze on December 19, 2008
in Hack, Productivity, Tutorials
In my last post about Thunderbird 3 Beta, I mentioned that extensions do that work with the Tunderbird 3 Beta. One of the important Add-on I have been using with Tunderbird 2 was Lightning. This Add-on provides Calendering functionality to Thunderbird, making it (near) complete substitute for MS Outlook. Near complete because there is no MS Exchange integration yet.
Then I found out a way to get this working with the Tunderbird 3 Beta
Importing Blogger Entries to Wordpress
by Mandar Vaze on December 15, 2008
in Tutorials
I imported several of my old entries from my now-defunct blog from blogger. Although, Wordpress makes it very easy to import the entire blog, considering there are two very different platforms, there were some obvious quirks.
Here are my experience, and tips for your smooth transition
Read more..

