SyntaxFix
Write A Post
Hire A Developer
Questions
import traceback traceback.print_exc()
When doing this inside an except ...: block it will automatically use the current exception. See http://docs.python.org/library/traceback.html for more information.
except ...: