App下載

詞條

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

451.Python repr() 函數(shù)

Python repr() 函數(shù) Python 內(nèi)置函數(shù)描述Python repr() 函數(shù)將對(duì)象轉(zhuǎn)化為供解釋器讀取的形式。語法以下是 repr() 方法的語法:repr(object)參數(shù)object:對(duì)象。返回值返回一個(gè)對(duì)象的 string 格式。實(shí)例以下展示了使用 repr() 方法的實(shí)例:>>>...

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

452.Python xrange() 函數(shù)

Python xrange() 函數(shù) Python 內(nèi)置函數(shù)描述Python xrange() 函數(shù)用法與 range 完全相同,所不同的是生成的不是一個(gè)數(shù)組,而是一個(gè)生成器。語法xrange 語法:xrange(stop) xrange(start, stop[, step])參數(shù)說明:start:計(jì)數(shù)從 start 開始。默認(rèn)是從 0 開...

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

453.Python globals() 函數(shù)

Python globals() 函數(shù) Python 內(nèi)置函數(shù)描述Python globals() 函數(shù)會(huì)以字典類型返回當(dāng)前位置的全部全局變量。語法globals() 函數(shù)語法:globals()參數(shù)無返回值返回全局變量的字典。實(shí)例以下實(shí)例展示了 globals() 的使用方法:>>>a='schoo...

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

454.Python compile() 函數(shù)

Python compile() 函數(shù) Python 內(nèi)置函數(shù)描述Python compile() 函數(shù)將一個(gè)字符串編譯為字節(jié)代碼。語法以下是 compile() 方法的語法:compile(source, filename, mode[, flags[, dont_inherit]])參數(shù)source:字符串或者AST(Abstract Syntax Trees)對(duì)象。。filename:代...

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

455.Python complex() 函數(shù)

Python complex() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python complex() 函數(shù)用于創(chuàng)建一個(gè)值為 real + imag * j 的復(fù)數(shù)或者轉(zhuǎn)化一個(gè)字符串或數(shù)為復(fù)數(shù)。如果第一個(gè)參數(shù)為字符串,則不需要指定第二個(gè)參數(shù)。。 語法 complex 語法:class complex([real[, imag]]) ...

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

456.Python hash() 函數(shù)

Python hash() 函數(shù) Python 內(nèi)置函數(shù)描述Python hash() 用于獲取取一個(gè)對(duì)象(字符串或者數(shù)值等)的哈希值。語法hash 語法:hash(object)參數(shù)說明:object:對(duì)象返回值返回對(duì)象的哈希值。實(shí)例以下實(shí)例展示了 hash 的使用方法:>>>hash(&#...

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

457.Python set() 函數(shù)

Python set() 函數(shù) Python 內(nèi)置函數(shù)描述Python set() 函數(shù)創(chuàng)建一個(gè)無序不重復(fù)元素集,可進(jìn)行關(guān)系測(cè)試,刪除重復(fù)數(shù)據(jù),還可以計(jì)算交集、差集、并集等。語法set 語法:class set([iterable]) 參數(shù)說明:iterable:可迭代對(duì)象對(duì)象;返回值返回...

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

458.Python help() 函數(shù)

Python help() 函數(shù) Python 內(nèi)置函數(shù)描述Python help() 函數(shù)用于查看函數(shù)或模塊用途的詳細(xì)說明。語法help 語法:help([object]) 參數(shù)說明:object:對(duì)象;返回值返回對(duì)象幫助信息。實(shí)例以下實(shí)例展示了 help 的使用方法:>>>help('sys...

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

459.Python setattr() 函數(shù)

Python setattr() 函數(shù) Python 內(nèi)置函數(shù)描述Python setattr() 函數(shù)對(duì)應(yīng)函數(shù) getattr(),用于設(shè)置屬性值,該屬性不一定是存在的。語法setattr() 語法:setattr(object, name, value) 參數(shù)object:對(duì)象。name:字符串,對(duì)象屬性。value:屬性值。返回值無...

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

460.Python dict() 函數(shù)

Python dict() 函數(shù) Python 內(nèi)置函數(shù)描述Python dict() 函數(shù)用于創(chuàng)建一個(gè)字典。語法dict 語法:class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) 參數(shù)說明:**kwargs:關(guān)鍵字mapping:元素的容器。iterable:可迭代對(duì)象。返回值返回...

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

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

w3cschool 建議您:

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

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

w3cschool 建議您:

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

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

w3cschool 建議您:

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

451.Python repr() 函數(shù)

Python repr() 函數(shù) Python 內(nèi)置函數(shù)描述Python repr() 函數(shù)將對(duì)象轉(zhuǎn)化為供解釋器讀取的形式。語法以下是 repr() 方法的語法:repr(object)參數(shù)object:對(duì)象。返回值返回一個(gè)對(duì)象的 string 格式。實(shí)例以下展示了使用 repr() 方法的實(shí)例:>>>...

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

452.Python xrange() 函數(shù)

Python xrange() 函數(shù) Python 內(nèi)置函數(shù)描述Python xrange() 函數(shù)用法與 range 完全相同,所不同的是生成的不是一個(gè)數(shù)組,而是一個(gè)生成器。語法xrange 語法:xrange(stop) xrange(start, stop[, step])參數(shù)說明:start:計(jì)數(shù)從 start 開始。默認(rèn)是從 0 開...

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

453.Python globals() 函數(shù)

Python globals() 函數(shù) Python 內(nèi)置函數(shù)描述Python globals() 函數(shù)會(huì)以字典類型返回當(dāng)前位置的全部全局變量。語法globals() 函數(shù)語法:globals()參數(shù)無返回值返回全局變量的字典。實(shí)例以下實(shí)例展示了 globals() 的使用方法:>>>a='schoo...

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

454.Python compile() 函數(shù)

Python compile() 函數(shù) Python 內(nèi)置函數(shù)描述Python compile() 函數(shù)將一個(gè)字符串編譯為字節(jié)代碼。語法以下是 compile() 方法的語法:compile(source, filename, mode[, flags[, dont_inherit]])參數(shù)source:字符串或者AST(Abstract Syntax Trees)對(duì)象。。filename:代...

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

455.Python complex() 函數(shù)

Python complex() 函數(shù) Python 內(nèi)置函數(shù) 描述 Python complex() 函數(shù)用于創(chuàng)建一個(gè)值為 real + imag * j 的復(fù)數(shù)或者轉(zhuǎn)化一個(gè)字符串或數(shù)為復(fù)數(shù)。如果第一個(gè)參數(shù)為字符串,則不需要指定第二個(gè)參數(shù)。。 語法 complex 語法:class complex([real[, imag]]) ...

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

456.Python hash() 函數(shù)

Python hash() 函數(shù) Python 內(nèi)置函數(shù)描述Python hash() 用于獲取取一個(gè)對(duì)象(字符串或者數(shù)值等)的哈希值。語法hash 語法:hash(object)參數(shù)說明:object:對(duì)象返回值返回對(duì)象的哈希值。實(shí)例以下實(shí)例展示了 hash 的使用方法:>>>hash(&#...

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

457.Python set() 函數(shù)

Python set() 函數(shù) Python 內(nèi)置函數(shù)描述Python set() 函數(shù)創(chuàng)建一個(gè)無序不重復(fù)元素集,可進(jìn)行關(guān)系測(cè)試,刪除重復(fù)數(shù)據(jù),還可以計(jì)算交集、差集、并集等。語法set 語法:class set([iterable]) 參數(shù)說明:iterable:可迭代對(duì)象對(duì)象;返回值返回...

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

458.Python help() 函數(shù)

Python help() 函數(shù) Python 內(nèi)置函數(shù)描述Python help() 函數(shù)用于查看函數(shù)或模塊用途的詳細(xì)說明。語法help 語法:help([object]) 參數(shù)說明:object:對(duì)象;返回值返回對(duì)象幫助信息。實(shí)例以下實(shí)例展示了 help 的使用方法:>>>help('sys...

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

459.Python setattr() 函數(shù)

Python setattr() 函數(shù) Python 內(nèi)置函數(shù)描述Python setattr() 函數(shù)對(duì)應(yīng)函數(shù) getattr(),用于設(shè)置屬性值,該屬性不一定是存在的。語法setattr() 語法:setattr(object, name, value) 參數(shù)object:對(duì)象。name:字符串,對(duì)象屬性。value:屬性值。返回值無...

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

460.Python dict() 函數(shù)

Python dict() 函數(shù) Python 內(nèi)置函數(shù)描述Python dict() 函數(shù)用于創(chuàng)建一個(gè)字典。語法dict 語法:class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) 參數(shù)說明:**kwargs:關(guān)鍵字mapping:元素的容器。iterable:可迭代對(duì)象。返回值返回...

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

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

w3cschool 建議您:

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

熱門課程