首页 >后端开发 >Python教程 >Python:内置函数大全

Python:内置函数大全

巴扎黑
巴扎黑原创
2017-06-23 15:12:081629浏览
    Built-in Functions    
<span class="pre">abs()</span> <span class="pre">divmod()</span> <span class="pre">input()</span> <span class="pre">open()</span> <span class="pre">staticmethod()</span>
<span class="pre">all()</span> <span class="pre">enumerate()</span> <span class="pre">int()</span> <span class="pre">ord()</span> <span class="pre">str()</span>
<span class="pre">any()</span> <span class="pre">eval()</span> <span class="pre">isinstance()</span> <span class="pre">pow()</span> <span class="pre">sum()</span>
<span class="pre">basestring()</span> <span class="pre">execfile()</span> <span class="pre">issubclass()</span> <span class="pre">print()</span> <span class="pre">super()</span>
<span class="pre">bin()</span> <span class="pre">file()</span> <span class="pre">iter()</span> <span class="pre">property()</span> <span class="pre">tuple()</span>
<span class="pre">bool()</span> <span class="pre">filter()</span> <span class="pre">len()</span> <span class="pre">range()</span> <span class="pre">type()</span>
<span class="pre">bytearray()</span> <span class="pre">float()</span> <span class="pre">list()</span> <span class="pre">raw_input()</span> <span class="pre">unichr()</span>
<span class="pre">callable()</span> <span class="pre">format()</span> <span class="pre">locals()</span> <span class="pre">reduce()</span> <span class="pre">unicode()</span>
<span class="pre">chr()</span> <span class="pre">frozenset()</span> <span class="pre">long()</span> <span class="pre">reload()</span> <span class="pre">vars()</span>
<span class="pre">classmethod()</span> <span class="pre">getattr()</span> <span class="pre">map()</span> <span class="pre">repr()</span> <span class="pre">xrange()</span>
<span class="pre">cmp()</span> <span class="pre">globals()</span> <span class="pre">max()</span> <span class="pre">reversed()</span> <span class="pre">zip()</span>
<span class="pre">compile()</span> <span class="pre">hasattr()</span> <span class="pre">memoryview()</span> <span class="pre">round()</span> <span class="pre">__import__()</span>
<span class="pre">complex()</span> <span class="pre">hash()</span> <span class="pre">min()</span> <span class="pre">set()</span>  
<span class="pre">delattr()</span> <span class="pre">help()</span> <span class="pre">next()</span> <span class="pre">setattr()</span>  
<span class="pre">dict()</span> <span class="pre">hex()</span> <span class="pre">object()</span> <span class="pre">slice()</span>  
<span class="pre">dir()</span> <span class="pre">id()</span> <span class="pre">oct()</span> <span class="pre">sorted()</span>  

以上是Python:内置函数大全的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn