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

在这里插入图片描述

posted @   xiongsheng  阅读(243)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· 字符编码:从基础到乱码解决
· SpringCloud带你走进微服务的世界
点击右上角即可分享
微信分享提示