原创

[python]python中的关键字及内置函数

前言

这里记录下Python中的关键字以及内置函数,在日常开发python程序的时候,有可能会不小心用作变量,IDE就会给你提示咯.

关键字

False await else import pass
None break except in raise
True class finally is return
and continue for lambda try
as def from nonlocal while
assert del global not with
async elif if or yield

内置函数

abs() delattr() hash() memoryview() set()
all() dict() help() min() setattr()
any() dir() hex() next() slice()
ascii() divmod() id() object() sorted()
bin() enumerate() input() oct() staticmethod()
bool() eval() int() open() str()
breakpoint() exec() isinstance() ord() sum()
bytearray() filter() issubclass() pow() super()
bytes() float() iter() print() tuple()
callable() format() len() property() type()
chr() frozenset() list() range() vars()
classmethod() getattr() locals() repr() zip()
compile() globals() map() reversed() __import__()
complex() hasattr() max() round()

本文来自:[python]python中的关键字及内置函数-小码农,转载请保留本条链接,感谢!

温馨提示:
本文最后更新于 2022年05月09日,已超过 710 天没有更新。若文章内的图片失效(无法正常加载),请留言反馈或直接联系我
正文到此结束
本文目录