The Python Tutorial 2——Using the Python Interpreter

来源:互联网 发布:知乎 颗粒板 编辑:程序博客网 时间:2024/06/07 19:25
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().
0 0