首页 > 代码库 > 深入python
深入python
#http://old.sebug.net/paper/books/dive-into-python/html/index.html
1. 使用help寻求帮助
>>> help()Welcome to Python 2.7! This is the online help utility.If this is your first time using Python, you should definitely check outthe tutorial on the Internet at http://docs.python.org/2.7/tutorial/.Enter the name of any module, keyword, or topic to get help on writingPython programs and using Python modules. To quit this help utility andreturn to the interpreter, just type "quit".To get a list of available modules, keywords, or topics, type "modules","keywords", or "topics". Each module also comes with a one-line summaryof what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
在命令行环境,如果查看wave模块如何使用
需要 import wave; help(wave)
或者 help(‘wave‘)
深入python
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。