编程语言
首页 > 编程语言> > python中打印所有的关键字

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")

在这里插入图片描述

标签:help,查看,python,topics,打印,modules,关键字,path
来源: https://www.cnblogs.com/xiongsheng/p/16094947.html