App下載

詞條

大約有 1,000 項(xiàng)符合查詢結(jié)果 ,庫(kù)內(nèi)數(shù)據(jù)總量為 78,250 項(xiàng)。(搜索耗時(shí):0.0027秒)

271.Python3 find()方法

Python3 find()方法 Python3 字符串 描述 find() 方法檢測(cè)字符串中是否包含子字符串 str ,如果指定 beg(開(kāi)始) 和 end(結(jié)束) 范圍,則檢查是否包含在指定范圍內(nèi),如果包含子字符串返回開(kāi)始的索引值,否則返回-1。 語(yǔ)法 find()方法...

http://www.o2fo.com/python3/python3-string-find.html

272.Python3 isalnum()方法

Python3 isalnum()方法 Python3 字符串 描述 isalnum() 方法檢測(cè)字符串是否由字母和數(shù)字組成。 語(yǔ)法 isalnum()方法語(yǔ)法: str.isa1num() 參數(shù) 無(wú)。 返回值 如果 string 至少有一個(gè)字符并且所有字符都是字母或數(shù)字則返回 True,否則返回 False 實(shí)例 ...

http://www.o2fo.com/python3/python3-string-isalnum.html

273.Python3 ljust()方法

Python3 ljust()方法 Python3 字符串 描述 ljust() 方法返回一個(gè)原字符串左對(duì)齊,并使用空格填充至指定長(zhǎng)度的新字符串。如果指定的長(zhǎng)度小于原字符串的長(zhǎng)度則返回原字符串。 語(yǔ)法 ljust()方法語(yǔ)法: str.ljust(width[, fillchar]) 參數(shù) width -- ...

http://www.o2fo.com/python3/python3-string-ljust.html

274.Python3 lstrip()方法

Python3 lstrip()方法 Python3 字符串 描述 lstrip() 方法用于截掉字符串左邊的空格或指定字符。 語(yǔ)法 lstrip()方法語(yǔ)法: str.lstrip([chars]) 參數(shù) chars --指定截取的字符。 返回值 返回截掉字符串左邊的空格或指定字符后生成的新字符串。 ...

http://www.o2fo.com/python3/python3-string-lstrip.html

275.Python3 字符串 splitlines()方法

Python3 字符串 描述 Python splitlines() 按照行分隔,返回一個(gè)包含各行作為元素的列表,如果 num 指定則僅切片 num 個(gè)行. 語(yǔ)法 splitlines()方法語(yǔ)法: str.splitlines( num=string.count('\n')) 參數(shù) num -- 分割行的次數(shù)。 返回值 返回一個(gè)包含各行...

http://www.o2fo.com/python3/python3-string-splitlines.html

276.Python3 islower()方法

Python3 islower()方法 Python3 字符串描述islower() 方法檢測(cè)字符串是否由小寫(xiě)字母組成。語(yǔ)法islower()方法語(yǔ)法:str.islower() 參數(shù)無(wú)。返回值如果字符串中包含至少一個(gè)區(qū)分大小寫(xiě)的字符,并且所有這些(區(qū)分大小寫(xiě)的)字符都是小寫(xiě),則...

http://www.o2fo.com/python3/python3-string-islower.html

277.Python3 maketrans()方法

Python3 maketrans()方法 Python3 字符串 描述 maketrans() 方法用于創(chuàng)建字符映射的轉(zhuǎn)換表,對(duì)于接受兩個(gè)參數(shù)的最簡(jiǎn)單的調(diào)用方式,第一個(gè)參數(shù)是字符串,表示需要轉(zhuǎn)換的字符,第二個(gè)參數(shù)也是字符串表示轉(zhuǎn)換的目標(biāo)。 注:兩個(gè)字符串...

http://www.o2fo.com/python3/python3-string-maketrans.html

278.Python3 isnumeric()方法

Python3 isnumeric()方法 Python3 字符串 描述 isnumeric() 方法檢測(cè)字符串是否只由數(shù)字組成。這種方法是只針對(duì)unicode對(duì)象。 注:定義一個(gè)字符串為Unicode,只需要在字符串前添加 'u' 前綴即可,具體可以查看本章節(jié)例子。 語(yǔ)法 isnumeric()...

http://www.o2fo.com/python3/python3-string-isnumeric.html

279.Python3 字符串 strip()方法

Python3 字符串 描述 Python strip() 方法用于移除字符串頭尾指定的字符(默認(rèn)為空格)。 語(yǔ)法 strip()方法語(yǔ)法: str.strip([chars]); 參數(shù) chars -- 移除字符串頭尾指定的字符。 返回值 返回移除字符串頭尾指定的字符生成的新字符串。 實(shí)...

http://www.o2fo.com/python3/python3-string-strip.html

280.Python3 字符串 min()方法

Python3 字符串 描述 Python min() 方法返回字符串中最小的字母。 語(yǔ)法 min()方法語(yǔ)法: min(str) 參數(shù) str -- 字符串。 返回值 返回字符串中最小的字母。(實(shí)際上是返回ASCII碼較小的值) 實(shí)例 以下實(shí)例展示了min()函數(shù)的使用方法: #!/us...

http://www.o2fo.com/python3/python3-string-min.html

抱歉,暫時(shí)沒(méi)有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒(méi)有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

271.Python3 find()方法

Python3 find()方法 Python3 字符串 描述 find() 方法檢測(cè)字符串中是否包含子字符串 str ,如果指定 beg(開(kāi)始) 和 end(結(jié)束) 范圍,則檢查是否包含在指定范圍內(nèi),如果包含子字符串返回開(kāi)始的索引值,否則返回-1。 語(yǔ)法 find()方法...

http://www.o2fo.com/python3/python3-string-find.html

272.Python3 isalnum()方法

Python3 isalnum()方法 Python3 字符串 描述 isalnum() 方法檢測(cè)字符串是否由字母和數(shù)字組成。 語(yǔ)法 isalnum()方法語(yǔ)法: str.isa1num() 參數(shù) 無(wú)。 返回值 如果 string 至少有一個(gè)字符并且所有字符都是字母或數(shù)字則返回 True,否則返回 False 實(shí)例 ...

http://www.o2fo.com/python3/python3-string-isalnum.html

273.Python3 ljust()方法

Python3 ljust()方法 Python3 字符串 描述 ljust() 方法返回一個(gè)原字符串左對(duì)齊,并使用空格填充至指定長(zhǎng)度的新字符串。如果指定的長(zhǎng)度小于原字符串的長(zhǎng)度則返回原字符串。 語(yǔ)法 ljust()方法語(yǔ)法: str.ljust(width[, fillchar]) 參數(shù) width -- ...

http://www.o2fo.com/python3/python3-string-ljust.html

274.Python3 lstrip()方法

Python3 lstrip()方法 Python3 字符串 描述 lstrip() 方法用于截掉字符串左邊的空格或指定字符。 語(yǔ)法 lstrip()方法語(yǔ)法: str.lstrip([chars]) 參數(shù) chars --指定截取的字符。 返回值 返回截掉字符串左邊的空格或指定字符后生成的新字符串。 ...

http://www.o2fo.com/python3/python3-string-lstrip.html

275.Python3 字符串 splitlines()方法

Python3 字符串 描述 Python splitlines() 按照行分隔,返回一個(gè)包含各行作為元素的列表,如果 num 指定則僅切片 num 個(gè)行. 語(yǔ)法 splitlines()方法語(yǔ)法: str.splitlines( num=string.count('\n')) 參數(shù) num -- 分割行的次數(shù)。 返回值 返回一個(gè)包含各行...

http://www.o2fo.com/python3/python3-string-splitlines.html

276.Python3 islower()方法

Python3 islower()方法 Python3 字符串描述islower() 方法檢測(cè)字符串是否由小寫(xiě)字母組成。語(yǔ)法islower()方法語(yǔ)法:str.islower() 參數(shù)無(wú)。返回值如果字符串中包含至少一個(gè)區(qū)分大小寫(xiě)的字符,并且所有這些(區(qū)分大小寫(xiě)的)字符都是小寫(xiě),則...

http://www.o2fo.com/python3/python3-string-islower.html

277.Python3 maketrans()方法

Python3 maketrans()方法 Python3 字符串 描述 maketrans() 方法用于創(chuàng)建字符映射的轉(zhuǎn)換表,對(duì)于接受兩個(gè)參數(shù)的最簡(jiǎn)單的調(diào)用方式,第一個(gè)參數(shù)是字符串,表示需要轉(zhuǎn)換的字符,第二個(gè)參數(shù)也是字符串表示轉(zhuǎn)換的目標(biāo)。 注:兩個(gè)字符串...

http://www.o2fo.com/python3/python3-string-maketrans.html

278.Python3 isnumeric()方法

Python3 isnumeric()方法 Python3 字符串 描述 isnumeric() 方法檢測(cè)字符串是否只由數(shù)字組成。這種方法是只針對(duì)unicode對(duì)象。 注:定義一個(gè)字符串為Unicode,只需要在字符串前添加 'u' 前綴即可,具體可以查看本章節(jié)例子。 語(yǔ)法 isnumeric()...

http://www.o2fo.com/python3/python3-string-isnumeric.html

279.Python3 字符串 strip()方法

Python3 字符串 描述 Python strip() 方法用于移除字符串頭尾指定的字符(默認(rèn)為空格)。 語(yǔ)法 strip()方法語(yǔ)法: str.strip([chars]); 參數(shù) chars -- 移除字符串頭尾指定的字符。 返回值 返回移除字符串頭尾指定的字符生成的新字符串。 實(shí)...

http://www.o2fo.com/python3/python3-string-strip.html

280.Python3 字符串 min()方法

Python3 字符串 描述 Python min() 方法返回字符串中最小的字母。 語(yǔ)法 min()方法語(yǔ)法: min(str) 參數(shù) str -- 字符串。 返回值 返回字符串中最小的字母。(實(shí)際上是返回ASCII碼較小的值) 實(shí)例 以下實(shí)例展示了min()函數(shù)的使用方法: #!/us...

http://www.o2fo.com/python3/python3-string-min.html

抱歉,暫時(shí)沒(méi)有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門(mén)課程