Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- # TODO: main application entry point
- pass
- def cleanup():
- # TODO: release system resources here
- pass
- if __name__ == "__main__":
- try:
- main()
- except:
- cleanup()
- raise
- try:
- main()
- finally:
- cleanup()
Add Comment
Please, Sign In to add comment