[python]python中的关键字及内置函数
·
览 1456
·
评 0
原创
前言
这里记录下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() |
评 说
正在取来评说……