小码农 猫的一生在打哈欠中度过
[python]python中的关键字及内置函数

[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()
赏
支付宝赞赏码
支付宝
微信赞赏码
微信
分享 微博 QQ 空间 豆瓣 Twitter

本文最后更新于 2022 年 05 月 09 日,距今日已 1643 天。

签 python

本文出自 小码农,转载请注明出处。

评 说

正在取来评说……

卷首