Python Forum
How to exit after a try exception?
Thread Rating:
  • 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to exit after a try exception?
#9
(Mar-04-2017, 07:41 PM)Raptor88 Wrote: I had looked for "exit" in the index of the Python books I have and it's not even listed.  One book does have "SytemExit" in the index but how would a newbie know the keywords to search for?  Python book authors can spend so much time writing their books but so little time in making their index capable for newbies who don't know the proper keywords.
It's in the sys module. Check out the sys documentation.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
How to exit after a try exception? - by Raptor88 - Mar-04-2017, 01:15 AM
RE: How to exit after a try exception? - by wavic - Mar-04-2017, 04:14 AM
RE: How to exit after a try exception? - by merlem - Mar-04-2017, 08:44 AM
RE: How to exit after a try exception? - by wavic - Mar-04-2017, 09:20 PM
RE: How to exit after a try exception? - by ichabod801 - Mar-04-2017, 10:35 PM
RE: How to exit after a try exception? - by wavic - Mar-05-2017, 08:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python difference between sys.exit and exit() mg24 1 1,899 Nov-12-2022, 01:37 PM
Last Post: deanhystad
  name of exception for exit() Skaperen 2 2,439 May-24-2019, 07:07 PM
Last Post: Skaperen
  During handling of the above exception, another exception occurred Skaperen 7 26,989 Dec-21-2018, 10:58 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020