Python standard libraries

经常使用的Python标准模块使用示例, Micropython官网链接

模块

是否支持

说明

array

arrays of numeric data

asyncio

asynchronous I/O scheduler

binascii

binary/ASCII conversions

builtins

builtin functions and exceptions

collections

collection and container types

errno

system error codes

gc

control the garbage collector

gzip

gzip compression & decompression

hashlib

hashing algorithms

heapq

heap queue algorithm

os

basic "operating system" services

platform

access to underlying platform’s identifying data

random

generate random numbers

re

simple regular expressions

select

wait for events on a set of streams

socket

socket module

ssl

SSL/TLS module

struct

pack and unpack primitive data types

sys

system specific functions

time

time related functions

zlib

zlib compression & decompression