Summer intern Python code this summer

Member

leta

by leta , in category: Python , 12 days ago

Summer intern Python code this summer 🤗

1
2
3
4
5
6
7
8
try:
 # do some stuff
except:
  e0 = sys.exc_info()[0]
  e1 = sys.exc_info()[1]
  e2 = sys.exc_info()[2]
  print '*** failed due to: %s %s %s' % (e0, e1, e2)
  sys.exit(3)


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers