I think stranac's answer is what you want, but in case it isn't, note that the error won't be displayed but because you didn't catch the exception, the program will crash.
Join the #python-forum IRC channel on irc.freenode.net!
Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.