新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)Python教程:python如何退出交互模式
打開命令行,當輸入“python”命令時,可以看到如下輸出結(jié)果:

C:\Users\Administrator>python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
此時便進入Python的交互模式
退出交互模式,可以使用exit()語句
C:\Users\Administrator>python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> exit() C:\Users\Administrator>
如上,交互模式便退出了。
學習python,盡在python學習網(wǎng)!
網(wǎng)頁標題:創(chuàng)新互聯(lián)Python教程:python如何退出交互模式
URL地址:http://www.fisionsoft.com.cn/article/djeccoe.html


咨詢
建站咨詢
