代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index — MicroPython 1.16 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/customstyle.css" type="text/css" />
<link rel="shortcut icon" href="_static/favicon.ico"/>
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<script>
DOCUMENTATION_OPTIONS.COLLAPSE_INDEX = true;
</script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> MicroPython
</a>
<div class="version">
1.16
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="library/index.html">MicroPython libraries</a></li>
<li class="toctree-l1"><a class="reference internal" href="reference/index.html">MicroPython language and implementation</a></li>
<li class="toctree-l1"><a class="reference internal" href="genrst/index.html">MicroPython differences from CPython</a></li>
<li class="toctree-l1"><a class="reference internal" href="develop/index.html">MicroPython Internals</a></li>
<li class="toctree-l1"><a class="reference internal" href="license.html">MicroPython license information</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyboard/quickref.html">Quick reference for the pyboard</a></li>
<li class="toctree-l1"><a class="reference internal" href="esp8266/quickref.html">Quick reference for the ESP8266</a></li>
<li class="toctree-l1"><a class="reference internal" href="esp32/quickref.html">Quick reference for the ESP32</a></li>
<li class="toctree-l1"><a class="reference internal" href="rp2/quickref.html">Quick reference for the RP2</a></li>
<li class="toctree-l1"><a class="reference internal" href="wipy/quickref.html">Quick reference for the WiPy</a></li>
<li class="toctree-l1"><a class="reference internal" href="unix/quickref.html">Quick reference for the UNIX and Windows ports</a></li>
<li class="toctree-l1"><a class="reference internal" href="zephyr/quickref.html">Quick reference for the Zephyr port</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">MicroPython</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a> »</li>
<li>Python Module Index</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<h1>Python Module Index</h1>
<div class="modindex-jumpbox">
<a href="#cap-_"><strong>_</strong></a> |
<a href="#cap-a"><strong>a</strong></a> |
<a href="#cap-b"><strong>b</strong></a> |
<a href="#cap-c"><strong>c</strong></a> |
<a href="#cap-e"><strong>e</strong></a> |
<a href="#cap-f"><strong>f</strong></a> |
<a href="#cap-g"><strong>g</strong></a> |
<a href="#cap-h"><strong>h</strong></a> |
<a href="#cap-i"><strong>i</strong></a> |
<a href="#cap-j"><strong>j</strong></a> |
<a href="#cap-l"><strong>l</strong></a> |
<a href="#cap-m"><strong>m</strong></a> |
<a href="#cap-n"><strong>n</strong></a> |
<a href="#cap-o"><strong>o</strong></a> |
<a href="#cap-p"><strong>p</strong></a> |
<a href="#cap-r"><strong>r</strong></a> |
<a href="#cap-s"><strong>s</strong></a> |
<a href="#cap-t"><strong>t</strong></a> |
<a href="#cap-u"><strong>u</strong></a> |
<a href="#cap-w"><strong>w</strong></a> |
<a href="#cap-z"><strong>z</strong></a>
</div>
<table class="indextable modindextable">
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-_"><td></td><td>
<strong>_</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/_thread.html#module-_thread"><code class="xref">_thread</code></a></td><td>
<em>multithreading support</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-a"><td></td><td>
<strong>a</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/array.html#module-array"><code class="xref">array</code></a></td><td>
<em>efficient arrays of numeric data</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-b"><td></td><td>
<strong>b</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/binascii.html#module-binascii"><code class="xref">binascii</code></a></td><td>
<em>binary/ASCII conversions</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/bluetooth.html#module-bluetooth"><code class="xref">bluetooth</code></a></td><td>
<em>Low-level Bluetooth radio functionality</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/btree.html#module-btree"><code class="xref">btree</code></a></td><td>
<em>simple BTree database</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-c"><td></td><td>
<strong>c</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/cmath.html#module-cmath"><code class="xref">cmath</code></a></td><td>
<em>mathematical functions for complex numbers</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/collections.html#module-collections"><code class="xref">collections</code></a></td><td>
<em>collection and container types</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/cryptolib.html#module-cryptolib"><code class="xref">cryptolib</code></a></td><td>
<em>cryptographic ciphers</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-e"><td></td><td>
<strong>e</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/errno.html#module-errno"><code class="xref">errno</code></a></td><td>
<em>system error codes</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/esp.html#module-esp"><code class="xref">esp</code></a></td><td>
<em>functions related to the ESP8266 and ESP32</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/esp32.html#module-esp32"><code class="xref">esp32</code></a></td><td>
<em>functionality specific to the ESP32</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-f"><td></td><td>
<strong>f</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/framebuf.html#module-framebuf"><code class="xref">framebuf</code></a></td><td>
<em>Frame buffer manipulation</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-g"><td></td><td>
<strong>g</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/gc.html#module-gc"><code class="xref">gc</code></a></td><td>
<em>control the garbage collector</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-h"><td></td><td>
<strong>h</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/hashlib.html#module-hashlib"><code class="xref">hashlib</code></a></td><td>
<em>hashing algorithms</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/heapq.html#module-heapq"><code class="xref">heapq</code></a></td><td>
<em>heap queue algorithm</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-i"><td></td><td>
<strong>i</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/io.html#module-io"><code class="xref">io</code></a></td><td>
<em>input/output streams</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-j"><td></td><td>
<strong>j</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/json.html#module-json"><code class="xref">json</code></a></td><td>
<em>JSON encoding and decoding</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-l"><td></td><td>
<strong>l</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/lcd160cr.html#module-lcd160cr"><code class="xref">lcd160cr</code></a></td><td>
<em>control of LCD160CR display</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-m"><td></td><td>
<strong>m</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/machine.html#module-machine"><code class="xref">machine</code></a></td><td>
<em>functions related to the hardware</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/math.html#module-math"><code class="xref">math</code></a></td><td>
<em>mathematical functions</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/micropython.html#module-micropython"><code class="xref">micropython</code></a></td><td>
<em>access and control MicroPython internals</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-n"><td></td><td>
<strong>n</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/neopixel.html#module-neopixel"><code class="xref">neopixel</code></a></td><td>
<em>control of WS2812 / NeoPixel LEDs</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/network.html#module-network"><code class="xref">network</code></a></td><td>
<em>network configuration</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-o"><td></td><td>
<strong>o</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/os.html#module-os"><code class="xref">os</code></a></td><td>
<em>basic "operating system" services</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-p"><td></td><td>
<strong>p</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/pyb.html#module-pyb"><code class="xref">pyb</code></a></td><td>
<em>functions related to the board</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-r"><td></td><td>
<strong>r</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/re.html#module-re"><code class="xref">re</code></a></td><td>
<em>regular expressions</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/rp2.html#module-rp2"><code class="xref">rp2</code></a></td><td>
<em>functionality specific to the RP2</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-s"><td></td><td>
<strong>s</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/select.html#module-select"><code class="xref">select</code></a></td><td>
<em>wait for events on a set of streams</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/socket.html#module-socket"><code class="xref">socket</code></a></td><td>
<em>socket module</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/ssl.html#module-ssl"><code class="xref">ssl</code></a></td><td>
<em>TLS/SSL wrapper for socket objects</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/struct.html#module-struct"><code class="xref">struct</code></a></td><td>
<em>pack and unpack primitive data types</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/sys.html#module-sys"><code class="xref">sys</code></a></td><td>
<em>system specific functions</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-t"><td></td><td>
<strong>t</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/time.html#module-time"><code class="xref">time</code></a></td><td>
<em>time related functions</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-u"><td></td><td>
<strong>u</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/uasyncio.html#module-uasyncio"><code class="xref">uasyncio</code></a></td><td>
<em>asynchronous I/O scheduler for writing concurrent code</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/uctypes.html#module-uctypes"><code class="xref">uctypes</code></a></td><td>
<em>access binary data in a structured way</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-w"><td></td><td>
<strong>w</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/wipy.html#module-wipy"><code class="xref">wipy</code></a></td><td>
<em>WiPy specific features</em></td></tr>
<tr class="pcap"><td></td><td> </td><td></td></tr>
<tr class="cap" id="cap-z"><td></td><td>
<strong>z</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="library/zephyr.html#module-zephyr"><code class="xref">zephyr</code></a></td><td>
<em>functionality specific to Zephyr</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/zlib.html#module-zlib"><code class="xref">zlib</code></a></td><td>
<em>zlib decompression</em></td></tr>
<tr>
<td></td>
<td>
<a href="library/zephyr.zsensor.html#module-zsensor"><code class="xref">zsensor</code></a></td><td>
<em>zephyr sensor bindings</em></td></tr>
</table>
</div>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>© Copyright - The MicroPython Documentation is Copyright © 2014-2021, Damien P. George, Paul Sokolovsky, and contributors.
<span class="lastupdated">Last updated on 08 Nov 2021.
</span></p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> Versions and Downloads</span>
latest
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
<dd><a href="//en/latest">latest</a></dd>
</dl>
<dl>
<dt>Downloads</dt>
<dd><a href="//en/latest/micropython-docs.pdf">PDF</a></dd>
</dl>
<hr/>
<dl>
<dt>External links</dt>
<dd>
<a href="https://www.micropython.org">micropython.org</a>
</dd>
<dd>
<a href="https://github.com/micropython/micropython">GitHub</a>
</dd>
</dl>
</div>
</div><script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。