av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

創(chuàng)新互聯(lián)Python教程:python的help函數(shù)怎么退出

python的help用法及退出方式

成都創(chuàng)新互聯(lián)公司主營(yíng)酉陽(yáng)土家族苗族網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營(yíng)網(wǎng)站建設(shè)方案,app軟件定制開(kāi)發(fā),酉陽(yáng)土家族苗族h5小程序設(shè)計(jì)搭建,酉陽(yáng)土家族苗族網(wǎng)站營(yíng)銷(xiāo)推廣歡迎酉陽(yáng)土家族苗族等地區(qū)企業(yè)咨詢(xún)

一、進(jìn)入交互模式

打開(kāi)cmd命令行窗口,輸入python效果如下:

D:\Company\Code\python>python
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

二、使用help()查看幫助

1、輸入help(raw_input)查看,效果如下:

>>> help(raw_input)
Help on built-in function raw_input in module __builtin__:
raw_input(...)
raw_input([prompt]) -> string
Read a string from standard input. ?The trailing newline is stripped.
If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.
On Unix, GNU readline is used if enabled. ?The prompt string, if given,
is printed without a trailing newline before reading.

退出help()函數(shù)

查看過(guò)后想要退出help()函數(shù),需輸入字母q

如果使用help(object)或help(‘object’),退出時(shí)直接輸入字母q即可; 

如果是help(),輸入字母q后會(huì)出現(xiàn)help>提示符(prompt),此時(shí)再輸入字母q并按下回車(chē)鍵即可退出。或者使用Ctrl+z 。


分享題目:創(chuàng)新互聯(lián)Python教程:python的help函數(shù)怎么退出
文章URL:http://uogjgqi.cn/article/dhejegi.html
掃二維碼與項(xiàng)目經(jīng)理溝通

我們?cè)谖⑿派?4小時(shí)期待你的聲音

解答本文疑問(wèn)/技術(shù)咨詢(xún)/運(yùn)營(yíng)咨詢(xún)/技術(shù)建議/互聯(lián)網(wǎng)交流