1、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 thefollowing command:
quit().
The Python Tutorial 2——Using the Python Interpreter
最新推荐文章于 2015-10-09 11:00:58 发布