the.bay.news

Terminate a Python script

Discussions on Python.org
Terminate a Python script
Forgive me if I am missing something obvious but how do I terminate a Python script early, say in the case of an exception, and return to the calling program? I have tried return, breaks, cancel but none of those work.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.