首頁 >後端開發 >Python教學 >Python:內建函數大全

Python:內建函數大全

巴扎黑
巴扎黑原創
2017-06-23 15:12:081624瀏覽
## 內建函數  #any()eval()basestring()bin()##bool()bytearray()##locals()reduce() #雜湊( )min() delattr()help( )##()
<span class="pre">abs()</span> ##divmod()<span class="pre"></span> 輸入()<span class="pre"></span> #open ( )<span class="pre"></span> staticmethod()<span class="pre"></span>
##all ()<span class="pre"></span> ##enumerate()<span class="pre"></span> int()<span class="pre"></span> ord()<span class="pre"></span> #str()<span class="pre"></span>
<span class="pre"></span> <span class="pre"></span>##isinstance () <span class="pre"></span>pow() <span class="pre"></span>sum() <span class="pre"></span>
<span class="pre"></span>#execfile() <span class="pre"></span>##issubclass() <span class="pre"></span>#print() <span class="pre"></span>super() <span class="pre"></span>
<span class="pre"></span>檔案() <span class="pre"></span>iter() <span class="pre"></span>屬性() <span class="pre"></span>tuple() <span class="pre"></span>
<span class="pre"></span>filter() <span class="pre"></span>#len() <span class="pre"></span>#range() <span class="pre"></span>type() <span class="pre"></span>
<span class="pre"></span>float() <span class="pre"></span>list() <span class="pre"></span>raw_input() <span class="pre"></span>#unichr() <span class="pre"></span>
<span class="pre"></span> <span class="pre"> </span> callable()<span class="pre"></span> #format()<span class="pre"></span> <span class="pre"></span>
<span class="pre"></span>unicode () <span class="pre"></span>##chr() <span class="pre"></span>frozenset() <span class="pre"></span>##long() <span class="pre"></span>#重新載入()
vars()<span class="pre"></span>#####################classmethod()### ##getattr()<span class="pre"></span> #map()<span class="pre"></span> ##repr()<span class="pre"></span> xrange()<span class="pre"></span>
#cmp()<span class="pre"></span> 全域變數()<span class="pre"></span> max( ) <span class="pre"></span> 反轉()<span class="pre"></span> zip()<span class="pre"> </span>
compile()<span class="pre"></span> #hasattr()<span class="pre"></span> 記憶體視圖()<span class="pre"></span> #round()<span class="pre"></span> __import__()<span class="pre"></span>
#複雜()<span class="pre"></span> <span class="pre"></span> <span class="pre"></span><span class="pre"></span>
set()<span class="pre"> </span><span class="pre"></span><span class="pre"></span> <span class="pre"></span>##next()
#setattr()<span class="pre"></span> <span class="pre"></span>dict() <span class="pre"></span>hex() <span class="pre"></span>object()
#slice()<span class="pre"></span># #  <span class="pre">##dir()</span> <span class="pre">id()</span> <span class="pre">oct()</span>
########## #### ######

以上是Python:內建函數大全的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn