keyword

功能

iskeyword:返回是否是被系统占用的标识符

keyword.iskeyword("and")    #返回True

数据

kwlist:返回python中不可用(被系统占用的)标识符。

Last updated