如何查找在python中的模块和方法

来源:互联网 发布:自动签到脚本 python 编辑:程序博客网 时间:2024/05/17 09:25

如何查找python中模块和方法
 
 1.利用Python中自带的help()查询,例如:
 
 2.利用Python自带的Python v2.6.2 documentation,在Python Shell下选择help,选择Python Docs
 
 3.去官网查询所需资料
 
  http://www.python.org/doc/
 
 4.Python(x,y)中配备了丰富齐全的帮助文档,你可以在document中找到它们。

 5.dir(StringIO.StringIO)的返回值中还包含有

0 0
原创粉丝点击