Skip to content

Instantly share code, notes, and snippets.

@Mausy5043
Created December 25, 2017 09:02
Show Gist options
  • Save Mausy5043/50f78b90090cd6a8345cae2a5cfbdccd to your computer and use it in GitHub Desktop.
Save Mausy5043/50f78b90090cd6a8345cae2a5cfbdccd to your computer and use it in GitHub Desktop.
Python 3 Exception Test
#!/usr/bin/env python3
try:
raise Exception('X')
except Exception as e:
print("Error {0}".format(str(e.args[0])).encode("utf-8"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment