Added a traceback.print_exc() snippet, useful to print traceback info while debugging, in try/except blocks.