Builtin 函数

所有的内置功能介绍。也可通过内置模块查找。

abs()
all()
any()
bin()
class bool
class bytearray
class bytes
callable()
chr()
classmethod()
compile()
class complex
delattr(obj, name)

*name*参数是字符类型, 该函数删除*obj*的指定参数属性。

class dict
dir()
divmod()
enumerate()
eval()
exec()
filter()
class float
class frozenset
getattr()
globals()
hasattr()
hash()
hex()
id()
input()
class int
classmethod from_bytes(bytes, byteorder)

MicroPython中 byteorder 是位索引 (兼容CPython)。

to_bytes(size, byteorder)

MicroPython中 byteorder 是位索引 (兼容CPython)。

isinstance()
issubclass()
iter()
len()
class list
locals()
map()
max()
class memoryview
min()
next()
class object
oct()
open()
ord()
pow()
print()
property()
range()
repr()
reversed()
round()
class set
setattr()
class slice

slice 是内置类型。

sorted()
staticmethod()
class str
sum()
super()
class tuple
type()
zip()