and as assert break class continue def del elif else
except False finally for from global if import in is
lambda None nonlocal not or pass raise return True try
while with yield
Python中的关键字是指被语言保留的、具有特定用途的标识符,不能用作变量名、函数名或其他标识符的名称。
关于查看Python关键字的帮助文档,可以在交互式Python解释器中使用help("keywords")
命令来查看Python中的所有关键字及其用法。
除了使用help()
函数外,还可以在Python官方文档中查看各种模块、函数、类、方法等的详细使用说明。Python官方文档网址为:https://docs.python.org/3/。在该网站中可以找到各种Python标准库和第三方库的详细文档,以及各种Python语法和特性的使用说明。