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.

Read more..

My First Open Source Contribution

by Mandar Vaze on December 17, 2008
in Code, Open Source

SVN Plot creates variety of graphs by parsing the Subversion repository.  The Project is created by Nitin Bhide. Now he happens to be my colleague. As part of learning Python, I’ve contributed to svnplot, hosted on Google Code.

Here are my changes :)

Note : I’m part of pythondev group on twitter.  Visit the website for details.

Outlook Macro source code

by Mandar Vaze on July 20, 2006
in Code, Productivity, Tutorials, VBA

  • This post is created only for the code, so that I can keep updating it.
  • The instructions are in the other post.
  • I do not take credit for this code. Original code for Attachment reminder available here.
  • I merely combined this with Reminder for missing subject. Similar code is available easily just by Googling.

*Update: Outlook counts files used in Signatures as attachments. see here.

Read more..

« Previous Page