本文主要是介绍python中打印所有的关键字,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
1.查看所有的关键字
help("keywords")
2. 查看python所有的modules
help("modules")
3. 单看python所有的modules中包含指定字符串的modules
help("modules yourstr")
4. 查看python中常见的topics
help("topics")
5.查看python标准库中的module
import os.path
help("os.path")
6. 查看python内置的类型
help("list")
7.查看python类型的成员方法
help("str.find")
8.查看python内置函数
help("open")
这篇关于python中打印所有的关键字的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!