Heim >Backend-Entwicklung >Python-Tutorial >Python: Vollständige Liste der integrierten Funktionen

Python: Vollständige Liste der integrierten Funktionen

巴扎黑
巴扎黑Original
2017-06-23 15:12:081649Durchsuche
    Eingebaute Funktionen    
<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><code class="xref py py-func docutils literal"><span class="pre">getattr()</span> <span class="pre">map()</span><code class="xref py py-func docutils literal"><span class="pre">map()</span> <span class="pre ">repr()</span><code class="docutils literal"><span class="pre">repr()</span> <span class="pre">xrange()</span><code class="xref py py-func docutils literal"><span class="pre">xrange()</span>
<span class="pre">cmp()</span><code class="xref py py-func docutils literal"><span class="pre">cmp()</span> <span class="pre">globals()</span><code class="xref py py-func docutils literal"><span class="pre">globals()</span> <span class="pre">max()</span><code class="xref py py-func docutils literal"><span class="pre">max()</span> <span class="pre">reversed( )</span><code class="xref py py-func docutils literal"><span class="pre">reversed()</span> <span class="pre">zip()</span><code class="xref py py-func docutils literal"><span class="pre">zip()</span>
<span class="pre">compile()</span><code class="xref py py-func docutils literal"><span class="pre">compile()</span> <span class="pre">hasattr()</span><code class="xref py py-func docutils literal"><span class="pre">hasattr()</span> <span class="pre">memoryview()</span><code class="docutils literal"><span class="pre">memoryview()</span> <span class="pre">round()</span><code class="xref py py-func docutils literal"><span class="pre">round()</span> <span class="pre">__import__()</span><code class="xref py py-func docutils literal"><span class="pre">__import__()</span>
<span class="pre">complex()</span><span class="pre">complex()</span> <span class="pre">hash()</span><code class="xref py py-func docutils literal"><span class="pre">hash()</span> <span class="pre">min() </span><code class="xref py py-func docutils literal"><span class="pre">min()</span> <span class="pre">set()</span><code class="docutils literal"><span class="pre">set()</span>  
<span class="pre">delattr()</span><code class="xref py py-func docutils literal"><span class="pre">delattr()</span> <span class="pre">help()</span><code class="xref py py-func docutils literal"><span class="pre">help()</span> <span class="pre">next()</span><code class="xref py py-func docutils literal"><span class="pre">next()</span> <span class="pre">setattr()</span><code class="xref py py-func docutils literal"><span class="pre">setattr()</span>  
<span class="pre">dict()</span><code class="docutils literal"><span class="pre">dict()</span> <span class="pre">hex()</span><code class="xref py py-func docutils literal"><span class="pre">hex()</span> <span class="pre">object()</span><code class="xref py py-func docutils literal"><span class="pre">object()</span> <span class=" pre">slice()</span><code class="xref py py-func docutils literal"><span class="pre">slice()</span>  
<span class=" pre">dir()</span><code class="xref py py-func docutils literal"><span class="pre">dir()</span> <span class="pre">id()</span><code class="xref py py-func docutils literal"><span class="pre">id()</span> <span class="pre">oct()</span><code class="xref py py-func docutils literal"><span class="pre">oct()</span> <span class="pre">sorted()</span><code class="xref py py-func docutils literal"><span class="pre">sorted()</span>  

Das obige ist der detaillierte Inhalt vonPython: Vollständige Liste der integrierten Funktionen. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn