Python - How to Quit or Exit


Typing an end-of-file character (Control-D on Unix, Control-Z on Windows) at the primary prompt causes the interpreter to exit with a zero exit status. If that doesn’t work, you can exit the interpreter by typing the following command: quit().


Comments

Popular posts from this blog

Python - Argument Passing

Python - How to Escape special characters in String