iskeyword:返回是否是被系统占用的标识符
keyword.iskeyword("and") #返回True
kwlist:返回python中不可用(被系统占用的)标识符。
Last updated 6 years ago
Was this helpful?