I'm using Python 3.2 and trying to exit it after the user inputs that they don't want to continue, is there code that will exit it in an if statement inside a while loop? I've already tried using exit(), sys.exit(), sys.quit(), quit(), and raise SystemExit.
ifstatement? Are you catching SystemExit for some reason? - Brendan Longexit, (b) catchingSystemExitorBaseException, (c) multithreading or multiprocessing, (d) really funky signal handling, or (e) embedded/custom Python interpreter. I strongly suspect it's (a). But if you don't give us your code (or, better, an SSCCE that minimally shows the same problem), we can't do more than suspect and guess. - abarnert