99 lines
6.3 KiB
HTML
99 lines
6.3 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
<html><head><title>Python: module __main__</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
</head><body bgcolor="#f0f0f8">
|
||
|
|
||
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
||
|
<tr bgcolor="#7799ee">
|
||
|
<td valign=bottom> <br>
|
||
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>__main__</strong></big></big> (26 February 2001)</font></td
|
||
|
><td align=right valign=bottom
|
||
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python3.6/pydoc.py">/usr/lib/python3.6/pydoc.py</a><br><a href="https://docs.python.org/3.6/library/__main__">Module Reference</a></font></td></tr></table>
|
||
|
<p><tt>Generate Python documentation in HTML or text for interactive use.<br>
|
||
|
<br>
|
||
|
At the Python interactive prompt, calling help(thing) on a Python object<br>
|
||
|
documents the object, and calling help() starts up an interactive<br>
|
||
|
help session.<br>
|
||
|
<br>
|
||
|
Or, at the shell command line outside of Python:<br>
|
||
|
<br>
|
||
|
Run "pydoc <name>" to show documentation on something. <name> may be<br>
|
||
|
the name of a function, module, package, or a dotted reference to a<br>
|
||
|
class or function within a module or module in a package. If the<br>
|
||
|
argument contains a path segment delimiter (e.g. slash on Unix,<br>
|
||
|
backslash on Windows) it is treated as the path to a Python source file.<br>
|
||
|
<br>
|
||
|
Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines<br>
|
||
|
of all available modules.<br>
|
||
|
<br>
|
||
|
Run "pydoc -p <port>" to start an HTTP server on the given port on the<br>
|
||
|
local machine. Port number 0 can be used to get an arbitrary unused port.<br>
|
||
|
<br>
|
||
|
Run "pydoc -b" to start an HTTP server on an arbitrary unused port and<br>
|
||
|
open a Web browser to interactively browse documentation. The -p option<br>
|
||
|
can be used with the -b option to explicitly specify the server port.<br>
|
||
|
<br>
|
||
|
Run "pydoc -w <name>" to write out the HTML documentation for a module<br>
|
||
|
to a file named "<name>.html".<br>
|
||
|
<br>
|
||
|
Module docs for core modules are assumed to be in<br>
|
||
|
<br>
|
||
|
/usr/share/doc/pythonX.Y/html/library<br>
|
||
|
<br>
|
||
|
if the pythonX.Y-doc package is installed or in<br>
|
||
|
<br>
|
||
|
https://docs.python.org/X.Y/library/<br>
|
||
|
<br>
|
||
|
This can be overridden by setting the PYTHONDOCS environment variable<br>
|
||
|
to a different URL or to a local directory containing the Library<br>
|
||
|
Reference Manual pages.</tt></p>
|
||
|
<p>
|
||
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
||
|
<tr bgcolor="#aa55cc">
|
||
|
<td colspan=3 valign=bottom> <br>
|
||
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
||
|
|
||
|
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
||
|
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="builtins.html">builtins</a><br>
|
||
|
<a href="builtins.html">builtins</a><br>
|
||
|
<a href="importlib.html">importlib</a><br>
|
||
|
<a href="inspect.html">inspect</a><br>
|
||
|
</td><td width="25%" valign=top><a href="io.html">io</a><br>
|
||
|
<a href="os.html">os</a><br>
|
||
|
<a href="pkgutil.html">pkgutil</a><br>
|
||
|
<a href="platform.html">platform</a><br>
|
||
|
</td><td width="25%" valign=top><a href="re.html">re</a><br>
|
||
|
<a href="sys.html">sys</a><br>
|
||
|
<a href="time.html">time</a><br>
|
||
|
<a href="tokenize.html">tokenize</a><br>
|
||
|
</td><td width="25%" valign=top><a href="urllib.html">urllib</a><br>
|
||
|
<a href="warnings.html">warnings</a><br>
|
||
|
</td></tr></table></td></tr></table><p>
|
||
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
||
|
<tr bgcolor="#55aa55">
|
||
|
<td colspan=3 valign=bottom> <br>
|
||
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
||
|
|
||
|
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
||
|
<td width="100%"><strong>__all__</strong> = ['help']<br>
|
||
|
<strong>__annotations__</strong> = {}<br>
|
||
|
<strong>help</strong> = <__main__.Helper instance></td></tr></table><p>
|
||
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
||
|
<tr bgcolor="#7799ee">
|
||
|
<td colspan=3 valign=bottom> <br>
|
||
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
|
||
|
|
||
|
<tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td>
|
||
|
<td width="100%">Ka-Ping Yee <ping@lfw.org></td></tr></table><p>
|
||
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
||
|
<tr bgcolor="#7799ee">
|
||
|
<td colspan=3 valign=bottom> <br>
|
||
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Credits</strong></big></font></td></tr>
|
||
|
|
||
|
<tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td>
|
||
|
<td width="100%">Guido van Rossum, for an excellent programming language.<br>
|
||
|
Tommy Burnette, the original creator of manpy.<br>
|
||
|
Paul Prescod, for all his work on onlinehelp.<br>
|
||
|
Richard Chamberlain, for the first implementation of textdoc.<br>
|
||
|
</td></tr></table>
|
||
|
</body></html>
|