📄 pydoc.py
字号:
#! /usr/bin/env python2.3# -*- coding: Latin-1 -*-"""Generate Python documentation in HTML or text for interactive use.In the Python interpreter, do "from pydoc import help" to provide onlinehelp. Calling help(thing) on a Python object documents the object.Or, at the shell command line outside of Python:Run "pydoc <name>" to show documentation on something. <name> may bethe name of a function, module, package, or a dotted reference to aclass or function within a module or module in a package. If theargument contains a path segment delimiter (e.g. slash on Unix,backslash on Windows) it is treated as the path to a Python source file.Run "pydoc -k <keyword>" to search for a keyword in the synopsis linesof all available modules.Run "pydoc -p <port>" to start an HTTP server on a given port on thelocal machine to generate documentation web pages.Run "pydoc -w <name>" to write out the HTML documentation for a moduleto a file named "<name>.html"."""__author__ = "Ka-Ping Yee <ping@lfw.org>"__date__ = "26 February 2001"__version__ = "$Revision: 1.86.8.1 $"__credits__ = """Guido van Rossum, for an excellent programming language.Tommy Burnette, the original creator of manpy.Paul Prescod, for all his work on onlinehelp.Richard Chamberlain, for the first implementation of textdoc.Mynd you, m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -