Added a traceback.print_exc() python snippet

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