App下載

詞條

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

431.Python sum() 函數(shù)

Python sum() 函數(shù) Python 內(nèi)置函數(shù)描述Python sum() 方法對系列進(jìn)行求和計算。語法以下是 sum() 方法的語法:sum(iterable[, start])參數(shù)iterable:可迭代對象,如:列表、元組、集合。start:指定相加的參數(shù),如果沒有設(shè)置這個值,默認(rèn)為0。...

http://www.o2fo.com/python/python-func-sum.html

432.Python basestring() 函數(shù)

Python basestring() 函數(shù) Python 內(nèi)置函數(shù)描述Python basestring() 方法是 str 和 unicode 的超類(父類),也是抽象類,因此不能被調(diào)用和實例化,但可以被用來判斷一個對象是否為 str 或者 unicode 的實例,isinstance(obj, basestring) 等價于 isinstanc...

http://www.o2fo.com/python/python-func-basestring.html

433.Python execfile() 函數(shù)

Python execfile() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python execfile() 函數(shù)可以用來執(zhí)行一個文件。 語法 以下是 execfile() 方法的語法:execfile(filename[, globals[, locals]]) 參數(shù) filename:文件名。 globals:變量作用域,全局命名空間,如果被提供,則必...

http://www.o2fo.com/python/python-func-execfile.html

434.Python bin() 函數(shù)

Python bin() 函數(shù) Python 內(nèi)置函數(shù)描述Python bin() 返回一個整數(shù) int 或者長整數(shù) long int 的二進(jìn)制表示。語法以下是 bin() 方法的語法:bin(x) 參數(shù)x:int 或者 long int 數(shù)字返回值字符串。實例以下展示了使用 bin 函數(shù)的實例:>>>bin(10) &...

http://www.o2fo.com/python/python-func-bin.html

435.Python file() 函數(shù)

Python file() 函數(shù) Python 內(nèi)置函數(shù)描述file() 函數(shù)用于創(chuàng)建一個 file 對象,它有一個別名叫 open(),更形象一些,它們是內(nèi)置函數(shù)。參數(shù)是以字符串的形式傳遞的。更多文件操作可參考:Python 文件I/O。語法以下是 file() 方法的語法:file(...

http://www.o2fo.com/python/python-func-file.html

436.Python iter() 函數(shù)

Python iter() 函數(shù) Python 內(nèi)置函數(shù)描述Python iter() 函數(shù)用來生成迭代器。語法以下是 iter() 方法的語法:iter(object[, sentinel])參數(shù)object:支持迭代的集合對象。sentinel:如果傳遞了第二個參數(shù),則參數(shù) object 必須是一個可調(diào)用的對象(如...

http://www.o2fo.com/python/python-func-iter.html

437.Python bool() 函數(shù)

Python bool() 函數(shù) Python 內(nèi)置函數(shù)描述Python bool() 函數(shù)用于將給定參數(shù)轉(zhuǎn)換為布爾類型,如果沒有參數(shù),返回 False。bool 是 int 的子類。語法以下是 bool() 方法的語法:class bool([x])參數(shù)x -- 要進(jìn)行轉(zhuǎn)換的參數(shù)。返回值返回 Ture 或 False。...

http://www.o2fo.com/python/python-func-bool.html

438.Python range() 函數(shù)

Python range() 函數(shù) Python 內(nèi)置函數(shù)Python range() 函數(shù)可創(chuàng)建一個整數(shù)列表,一般用在 for 循環(huán)中。函數(shù)語法range(start, stop[, step])參數(shù)說明:start:計數(shù)從 start 開始。默認(rèn)是從 0 開始。例如range(5)等價于range(0, 5);stop:計數(shù)到 stop ...

http://www.o2fo.com/python/python-func-range.html

439.Python type() 函數(shù)

Python type() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python type() 函數(shù)如果你只有第一個參數(shù)則返回對象的類型,三個參數(shù)返回新的類型對象。 isinstance() 與 type() 區(qū)別:type() 不會認(rèn)為子類是一種父類類型,不考慮繼承關(guān)系。isinstance() 會認(rèn)為子類...

http://www.o2fo.com/python/python-func-type.html

440.Python bytearray() 函數(shù)

Python bytearray() 函數(shù) Python 內(nèi)置函數(shù)描述Python bytearray() 方法返回一個新字節(jié)數(shù)組。這個數(shù)組里的元素是可變的,并且每個元素的值范圍: 0 <= x < 256。語法bytearray()方法語法:class bytearray([source[, encoding[, errors]]])參數(shù)如果 source 為...

http://www.o2fo.com/python/python-func-bytearray.html

抱歉,暫時沒有相關(guān)的微課

w3cschool 建議您:

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

抱歉,暫時沒有相關(guān)的視頻課程

w3cschool 建議您:

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

抱歉,暫時沒有相關(guān)的教程

w3cschool 建議您:

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

431.Python sum() 函數(shù)

Python sum() 函數(shù) Python 內(nèi)置函數(shù)描述Python sum() 方法對系列進(jìn)行求和計算。語法以下是 sum() 方法的語法:sum(iterable[, start])參數(shù)iterable:可迭代對象,如:列表、元組、集合。start:指定相加的參數(shù),如果沒有設(shè)置這個值,默認(rèn)為0。...

http://www.o2fo.com/python/python-func-sum.html

432.Python basestring() 函數(shù)

Python basestring() 函數(shù) Python 內(nèi)置函數(shù)描述Python basestring() 方法是 str 和 unicode 的超類(父類),也是抽象類,因此不能被調(diào)用和實例化,但可以被用來判斷一個對象是否為 str 或者 unicode 的實例,isinstance(obj, basestring) 等價于 isinstanc...

http://www.o2fo.com/python/python-func-basestring.html

433.Python execfile() 函數(shù)

Python execfile() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python execfile() 函數(shù)可以用來執(zhí)行一個文件。 語法 以下是 execfile() 方法的語法:execfile(filename[, globals[, locals]]) 參數(shù) filename:文件名。 globals:變量作用域,全局命名空間,如果被提供,則必...

http://www.o2fo.com/python/python-func-execfile.html

434.Python bin() 函數(shù)

Python bin() 函數(shù) Python 內(nèi)置函數(shù)描述Python bin() 返回一個整數(shù) int 或者長整數(shù) long int 的二進(jìn)制表示。語法以下是 bin() 方法的語法:bin(x) 參數(shù)x:int 或者 long int 數(shù)字返回值字符串。實例以下展示了使用 bin 函數(shù)的實例:>>>bin(10) &...

http://www.o2fo.com/python/python-func-bin.html

435.Python file() 函數(shù)

Python file() 函數(shù) Python 內(nèi)置函數(shù)描述file() 函數(shù)用于創(chuàng)建一個 file 對象,它有一個別名叫 open(),更形象一些,它們是內(nèi)置函數(shù)。參數(shù)是以字符串的形式傳遞的。更多文件操作可參考:Python 文件I/O。語法以下是 file() 方法的語法:file(...

http://www.o2fo.com/python/python-func-file.html

436.Python iter() 函數(shù)

Python iter() 函數(shù) Python 內(nèi)置函數(shù)描述Python iter() 函數(shù)用來生成迭代器。語法以下是 iter() 方法的語法:iter(object[, sentinel])參數(shù)object:支持迭代的集合對象。sentinel:如果傳遞了第二個參數(shù),則參數(shù) object 必須是一個可調(diào)用的對象(如...

http://www.o2fo.com/python/python-func-iter.html

437.Python bool() 函數(shù)

Python bool() 函數(shù) Python 內(nèi)置函數(shù)描述Python bool() 函數(shù)用于將給定參數(shù)轉(zhuǎn)換為布爾類型,如果沒有參數(shù),返回 False。bool 是 int 的子類。語法以下是 bool() 方法的語法:class bool([x])參數(shù)x -- 要進(jìn)行轉(zhuǎn)換的參數(shù)。返回值返回 Ture 或 False。...

http://www.o2fo.com/python/python-func-bool.html

438.Python range() 函數(shù)

Python range() 函數(shù) Python 內(nèi)置函數(shù)Python range() 函數(shù)可創(chuàng)建一個整數(shù)列表,一般用在 for 循環(huán)中。函數(shù)語法range(start, stop[, step])參數(shù)說明:start:計數(shù)從 start 開始。默認(rèn)是從 0 開始。例如range(5)等價于range(0, 5);stop:計數(shù)到 stop ...

http://www.o2fo.com/python/python-func-range.html

439.Python type() 函數(shù)

Python type() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python type() 函數(shù)如果你只有第一個參數(shù)則返回對象的類型,三個參數(shù)返回新的類型對象。 isinstance() 與 type() 區(qū)別:type() 不會認(rèn)為子類是一種父類類型,不考慮繼承關(guān)系。isinstance() 會認(rèn)為子類...

http://www.o2fo.com/python/python-func-type.html

440.Python bytearray() 函數(shù)

Python bytearray() 函數(shù) Python 內(nèi)置函數(shù)描述Python bytearray() 方法返回一個新字節(jié)數(shù)組。這個數(shù)組里的元素是可變的,并且每個元素的值范圍: 0 <= x < 256。語法bytearray()方法語法:class bytearray([source[, encoding[, errors]]])參數(shù)如果 source 為...

http://www.o2fo.com/python/python-func-bytearray.html

抱歉,暫時沒有相關(guān)的文章

w3cschool 建議您:

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

熱門課程