Skip to content

Instantly share code, notes, and snippets.

@tbarbugli
Last active July 26, 2017 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbarbugli/34144ae400e0e42cbf72c6cee129cfe1 to your computer and use it in GitHub Desktop.
Save tbarbugli/34144ae400e0e42cbf72c6cee129cfe1 to your computer and use it in GitHub Desktop.
try:
res = get_resource()
process_resource(res)
close_resource(res)
except:
print "something went wrong!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment