Python 2.7.12 - Python 3.5.2 - exit

Python 2.7.12 - Python 3.5.2 - exit

1. Use exit() or Ctrl-D (i.e. EOF) to exit

end of file,EOF:文件結束,文件結尾
strong@foreverstrong:~$ python
Python 2.7.12 (default, Oct  8 2019, 14:14:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
strong@foreverstrong:~$
strong@foreverstrong:~$ python3
Python 3.5.2 (default, Oct  8 2019, 13:06:37)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
strong@foreverstrong:~$
發佈了451 篇原創文章 · 獲贊 1712 · 訪問量 102萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章