mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 15:04:05 +08:00
1 line
28 KiB
HTML
1 line
28 KiB
HTML
<div class="body" role="main"><div class="section" id="internet-protocols-and-support"><h1><span class="yiyi-st" id="yiyi-9">21. </span><span class="yiyi-st" id="yiyi-10">网络协议与支持</span></h1><p id="index-1"><span class="yiyi-st" id="yiyi-11">这部分内容提供了网络协议与支持的相关技术信息。</span><span class="yiyi-st" id="yiyi-12">它们都在Python中完成。</span><span class="yiyi-st" id="yiyi-13">绝大多数模块依赖于 <a class="reference internal" href="socket.html#module-socket" title="socket: Low-level networking interface."><code class="xref py py-mod docutils literal"><span class="pre">socket</span></code></a>(目前绝大多数平台都支持)。</span><span class="yiyi-st" id="yiyi-14">以下为目录预览:</span></p><div class="toctree-wrapper compound"><ul><li class="toctree-l1"><span class="yiyi-st" id="yiyi-16"><a class="reference internal" href="webbrowser.html">21.1. <code class="docutils literal"><span class="pre">webbrowser</span></code> - 便捷的Web浏览器控制器</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-15"><a class="reference internal" href="webbrowser.html#browser-controller-objects">21.1.1.浏览器控制器对象</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-26"><a class="reference internal" href="cgi.html">21.2. <code class="docutils literal"><span class="pre">cgi</span></code> - 公共网关接口支持</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-17"><a class="reference internal" href="cgi.html#introduction">21.2.1.简介</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-18"><a class="reference internal" href="cgi.html#using-the-cgi-module">21.2.2.使用cgi模块</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-19"><a class="reference internal" href="cgi.html#higher-level-interface">21.2.3.高级接口</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-20"><a class="reference internal" href="cgi.html#functions">21.2.4.函数</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-21"><a class="reference internal" href="cgi.html#caring-about-security">21.2.5.关心安全</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-22"><a class="reference internal" href="cgi.html#installing-your-cgi-script-on-a-unix-system">21.2.6.在Unix系统上安装CGI脚本</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-23"><a class="reference internal" href="cgi.html#testing-your-cgi-script">21.2.7.测试您的CGI脚本</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-24"><a class="reference internal" href="cgi.html#debugging-cgi-scripts">21.2.8.调试CGI脚本</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-25"><a class="reference internal" href="cgi.html#common-problems-and-solutions">21.2.9.常见问题和解决方案</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-27"><a class="reference internal" href="cgitb.html">21.3. <code class="docutils literal"><span class="pre">cgitb</span></code> - CGI脚本的跟踪管理器</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-34"><a class="reference internal" href="wsgiref.html">21.4. <code class="docutils literal"><span class="pre">wsgiref</span></code> - WSGI实用程序和参考实现</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-28"><a class="reference internal" href="wsgiref.html#module-wsgiref.util">21.4.1. <code class="docutils literal"><span class="pre">wsgiref.util</span></code> - WSGI环境实用程序</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-29"><a class="reference internal" href="wsgiref.html#module-wsgiref.headers">21.4.2. <code class="docutils literal"><span class="pre">wsgiref.headers</span></code> - WSGI响应标头工具</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-30"><a class="reference internal" href="wsgiref.html#module-wsgiref.simple_server">21.4.3. <code class="docutils literal"><span class="pre">wsgiref.simple_server</span></code> - 一个简单的WSGI HTTP服务器</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-31"><a class="reference internal" href="wsgiref.html#module-wsgiref.validate">21.4.4. <code class="docutils literal"><span class="pre">wsgiref.validate</span></code> - WSGI一致性检查器</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-32"><a class="reference internal" href="wsgiref.html#module-wsgiref.handlers">21.4.5. <code class="docutils literal"><span class="pre">wsgiref.handlers</span></code> - 服务器/网关基本类</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-33"><a class="reference internal" href="wsgiref.html#examples">21.4.6.示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-35"><a class="reference internal" href="urllib.html">21.5. <code class="docutils literal"><span class="pre">urllib</span></code> - 网址处理模组</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-61"><a class="reference internal" href="urllib.request.html">21.6. <code class="docutils literal"><span class="pre">urllib.request</span></code> - 用于打开网址的可扩展库</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-36"><a class="reference internal" href="urllib.request.html#request-objects">21.6.1.请求对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-37"><a class="reference internal" href="urllib.request.html#openerdirector-objects">21.6.2. OpenerDirector对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-38"><a class="reference internal" href="urllib.request.html#basehandler-objects">21.6.3. BaseHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-39"><a class="reference internal" href="urllib.request.html#httpredirecthandler-objects">21.6.4. HTTPRedirectHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-40"><a class="reference internal" href="urllib.request.html#httpcookieprocessor-objects">21.6.5. HTTPCookieProcessor对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-41"><a class="reference internal" href="urllib.request.html#proxyhandler-objects">21.6.6. ProxyHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-42"><a class="reference internal" href="urllib.request.html#httppasswordmgr-objects">21.6.7. HTTPPasswordMgr对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-43"><a class="reference internal" href="urllib.request.html#httppasswordmgrwithpriorauth-objects"> 21.6.8. HTTPPasswordMgrWithPriorAuth对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-44"><a class="reference internal" href="urllib.request.html#abstractbasicauthhandler-objects"> 21.6.9. AbstractBasicAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-45"><a class="reference internal" href="urllib.request.html#httpbasicauthhandler-objects"> 10年6月21日。 HTTPBasicAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-46"><a class="reference internal" href="urllib.request.html#proxybasicauthhandler-objects"> 11年6月21日。 ProxyBasicAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-47"><a class="reference internal" href="urllib.request.html#abstractdigestauthhandler-objects"> 12年6月21日。 AbstractDigestAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-48"><a class="reference internal" href="urllib.request.html#httpdigestauthhandler-objects"> 13年6月21日。 HTTPDigestAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-49"><a class="reference internal" href="urllib.request.html#proxydigestauthhandler-objects"> 14年6月21日。 ProxyDigestAuthHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-50"><a class="reference internal" href="urllib.request.html#httphandler-objects">21.6.15. HTTPHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-51"><a class="reference internal" href="urllib.request.html#httpshandler-objects">21.6.16. HTTPSHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-52"><a class="reference internal" href="urllib.request.html#filehandler-objects">21.6.17. FileHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-53"><a class="reference internal" href="urllib.request.html#datahandler-objects">21.6.18. DataHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-54"><a class="reference internal" href="urllib.request.html#ftphandler-objects">21.6.19. FTPHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-55"><a class="reference internal" href="urllib.request.html#cacheftphandler-objects"> 20年6月21日。 CacheFTPHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-56"><a class="reference internal" href="urllib.request.html#unknownhandler-objects"> 21年6月21日。 UnknownHandler对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-57"><a class="reference internal" href="urllib.request.html#httperrorprocessor-objects">21.6.22. HTTPErrorProcessor对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-58"><a class="reference internal" href="urllib.request.html#examples">21.6.23.示例</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-59"><a class="reference internal" href="urllib.request.html#legacy-interface">21.6.24.旧界面</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-60"><a class="reference internal" href="urllib.request.html#urllib-request-restrictions">21.6.25. <code class="docutils literal"><span class="pre">urllib.request</span></code>限制</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-62"><a class="reference internal" href="urllib.request.html#module-urllib.response">21.7. <code class="docutils literal"><span class="pre">urllib.response</span></code> - urllib使用的响应类</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-67"><a class="reference internal" href="urllib.parse.html">21.8. <code class="docutils literal"><span class="pre">urllib.parse</span></code> - 将网址解析到组件</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-63"><a class="reference internal" href="urllib.parse.html#url-parsing">21.8.1.网址解析</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-64"><a class="reference internal" href="urllib.parse.html#parsing-ascii-encoded-bytes">21.8.2.解析ASCII编码字节</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-65"><a class="reference internal" href="urllib.parse.html#structured-parse-results">21.8.3.结构化解析结果</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-66"><a class="reference internal" href="urllib.parse.html#url-quoting">21.8.4.网址引用</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-68"><a class="reference internal" href="urllib.error.html">21.9. <code class="docutils literal"><span class="pre">urllib.error</span></code> - 由urllib.request引发的异常类</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-69"><a class="reference internal" href="urllib.robotparser.html">21.10. <code class="docutils literal"><span class="pre">urllib.robotparser</span></code> - 用于robots.txt的解析器</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-71"><a class="reference internal" href="http.html">21.11. <code class="docutils literal"><span class="pre">http</span></code> - HTTP模块</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-70"><a class="reference internal" href="http.html#http-status-codes">21.11.1. HTTP状态代码</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-76"><a class="reference internal" href="http.client.html">21.12. <code class="docutils literal"><span class="pre">http.client</span></code> - HTTP协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-72"><a class="reference internal" href="http.client.html#httpconnection-objects">21.12.1. HTTPConnection对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-73"><a class="reference internal" href="http.client.html#httpresponse-objects">21.12.2. HTTPResponse对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-74"><a class="reference internal" href="http.client.html#examples">21.12.3.示例</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-75"><a class="reference internal" href="http.client.html#httpmessage-objects">21.12.4. HTTPMessage对象</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-79"><a class="reference internal" href="ftplib.html">21.13. <code class="docutils literal"><span class="pre">ftplib</span></code> - FTP协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-77"><a class="reference internal" href="ftplib.html#ftp-objects">21.13.1. FTP对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-78"><a class="reference internal" href="ftplib.html#ftp-tls-objects">21.13.2. FTP_TLS对象</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-82"><a class="reference internal" href="poplib.html">21.14. <code class="docutils literal"><span class="pre">poplib</span></code> - POP3协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-80"><a class="reference internal" href="poplib.html#pop3-objects">21.14.1. POP3对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-81"><a class="reference internal" href="poplib.html#pop3-example">21.14.2. POP3示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-85"><a class="reference internal" href="imaplib.html">21.15. <code class="docutils literal"><span class="pre">imaplib</span></code> - IMAP4协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-83"><a class="reference internal" href="imaplib.html#imap4-objects">21.15.1. IMAP4对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-84"><a class="reference internal" href="imaplib.html#imap4-example">21.15.2. IMAP4示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-90"><a class="reference internal" href="nntplib.html">21.16. <code class="docutils literal"><span class="pre">nntplib</span></code> - NNTP协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-88"><a class="reference internal" href="nntplib.html#nntp-objects">21.16.1. NNTP对象</a></span><ul><li class="toctree-l3"><span class="yiyi-st" id="yiyi-86"><a class="reference internal" href="nntplib.html#attributes">21.16.1.1.属性</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-87"><a class="reference internal" href="nntplib.html#methods">21.16.1.2.方法</a></span></li></ul></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-89"><a class="reference internal" href="nntplib.html#utility-functions">21.16.2.效用函数</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-93"><a class="reference internal" href="smtplib.html">21.17. <code class="docutils literal"><span class="pre">smtplib</span></code> - SMTP协议客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-91"><a class="reference internal" href="smtplib.html#smtp-objects">21.17.1. SMTP对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-92"><a class="reference internal" href="smtplib.html#smtp-example">21.17.2. SMTP示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-99"><a class="reference internal" href="smtpd.html">21.18. <code class="docutils literal"><span class="pre">smtpd</span></code> - SMTP服务器</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-94"><a class="reference internal" href="smtpd.html#smtpserver-objects"> 21.18.1. SMTPServer对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-95"><a class="reference internal" href="smtpd.html#debuggingserver-objects">21.18.2. DebuggingServer对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-96"><a class="reference internal" href="smtpd.html#pureproxy-objects">21.18.3. PureProxy对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-97"><a class="reference internal" href="smtpd.html#mailmanproxy-objects">21.18.4. MailmanProxy对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-98"><a class="reference internal" href="smtpd.html#smtpchannel-objects"> 21.18.5. SMTPChannel对象</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-102"><a class="reference internal" href="telnetlib.html">21.19. <code class="docutils literal"><span class="pre">telnetlib</span></code> — Telnet 客户端</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-100"><a class="reference internal" href="telnetlib.html#telnet-objects">21.19.1. Telnet对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-101"><a class="reference internal" href="telnetlib.html#telnet-example">21.19.2. Telnet示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-104"><a class="reference internal" href="uuid.html">21.20. <code class="docutils literal"><span class="pre">uuid</span></code> - 根据RFC 4122</a>的UUID对象</span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-103"><a class="reference internal" href="uuid.html#example">21.20.1.示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-112"><a class="reference internal" href="socketserver.html">21.21. <code class="docutils literal"><span class="pre">socketserver</span></code> - 网络服务器框架</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-105"><a class="reference internal" href="socketserver.html#server-creation-notes">21.21.1.服务器创建备注</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-106"><a class="reference internal" href="socketserver.html#server-objects">21.21.2.服务器对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-107"><a class="reference internal" href="socketserver.html#request-handler-objects">21.21.3.请求处理程序对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-111"><a class="reference internal" href="socketserver.html#examples">21.21.4.示例</a></span><ul><li class="toctree-l3"><span class="yiyi-st" id="yiyi-108"><a class="reference internal" href="socketserver.html#socketserver-tcpserver-example">21.21.4.1. <code class="docutils literal"><span class="pre">socketserver.TCPServer</span></code>示例</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-109"><a class="reference internal" href="socketserver.html#socketserver-udpserver-example">21.21.4.2. <code class="docutils literal"><span class="pre">socketserver.UDPServer</span></code>示例</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-110"><a class="reference internal" href="socketserver.html#asynchronous-mixins">21.21.4.3.异步混合</a></span></li></ul></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-113"><a class="reference internal" href="http.server.html">21.22. <code class="docutils literal"><span class="pre">http.server</span></code> - HTTP服务器</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-117"><a class="reference internal" href="http.cookies.html">21.23. <code class="docutils literal"><span class="pre">http.cookies</span></code> - HTTP状态管理</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-114"><a class="reference internal" href="http.cookies.html#cookie-objects">21.23.1. Cookie对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-115"><a class="reference internal" href="http.cookies.html#morsel-objects">21.23.2. Morsel对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-116"><a class="reference internal" href="http.cookies.html#example">21.23.3.示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-124"><a class="reference internal" href="http.cookiejar.html">21.24. <code class="docutils literal"><span class="pre">http.cookiejar</span></code> - HTTP客户端的Cookie处理</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-118"><a class="reference internal" href="http.cookiejar.html#cookiejar-and-filecookiejar-objects">21.24.1. CookieJar和FileCookieJar Objects</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-119"><a class="reference internal" href="http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers">21.24.2. FileCookieJar子类和与Web浏览器的协作</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-120"><a class="reference internal" href="http.cookiejar.html#cookiepolicy-objects">21.24.3. CookiePolicy对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-121"><a class="reference internal" href="http.cookiejar.html#defaultcookiepolicy-objects"> 21.24.4. DefaultCookiePolicy对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-122"><a class="reference internal" href="http.cookiejar.html#cookie-objects">21.24.5. Cookie对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-123"><a class="reference internal" href="http.cookiejar.html#examples">21.24.6.示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-125"><a class="reference internal" href="xmlrpc.html">21.25. <code class="docutils literal"><span class="pre">xmlrpc</span></code> - XMLRPC服务器和客户端模块</a></span></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-135"><a class="reference internal" href="xmlrpc.client.html">21.26. <code class="docutils literal"><span class="pre">xmlrpc.client</span></code> - XML-RPC客户端访问</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-126"><a class="reference internal" href="xmlrpc.client.html#serverproxy-objects"> 21.26.1. ServerProxy对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-127"><a class="reference internal" href="xmlrpc.client.html#datetime-objects">21.26.2. DateTime对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-128"><a class="reference internal" href="xmlrpc.client.html#binary-objects">21.26.3.二进制对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-129"><a class="reference internal" href="xmlrpc.client.html#fault-objects">21.26.4.故障对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-130"><a class="reference internal" href="xmlrpc.client.html#protocolerror-objects"> 21.26.5. ProtocolError对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-131"><a class="reference internal" href="xmlrpc.client.html#multicall-objects"> 21.26.6. MultiCall对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-132"><a class="reference internal" href="xmlrpc.client.html#convenience-functions">21.26.7.便利功能</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-133"><a class="reference internal" href="xmlrpc.client.html#example-of-client-usage">21.26.8.客户端使用示例</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-134"><a class="reference internal" href="xmlrpc.client.html#example-of-client-and-server-usage">21.26.9.客户端和服务器使用示例</a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-142"><a class="reference internal" href="xmlrpc.server.html">21.27. <code class="docutils literal"><span class="pre">xmlrpc.server</span></code> - 基本XML-RPC服务器</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-137"><a class="reference internal" href="xmlrpc.server.html#simplexmlrpcserver-objects">21.27.1. SimpleXMLRPCServer对象</a></span><ul><li class="toctree-l3"><span class="yiyi-st" id="yiyi-136"><a class="reference internal" href="xmlrpc.server.html#simplexmlrpcserver-example">21.27.1.1. SimpleXMLRPCServer示例</a></span></li></ul></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-138"><a class="reference internal" href="xmlrpc.server.html#cgixmlrpcrequesthandler"> 21.27.2. CGIXMLRPCRequestHandler T0></a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-139"><a class="reference internal" href="xmlrpc.server.html#documenting-xmlrpc-server">21.27.3.记录XMLRPC服务器</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-140"><a class="reference internal" href="xmlrpc.server.html#docxmlrpcserver-objects">21.27.4. DocXMLRPCServer对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-141"><a class="reference internal" href="xmlrpc.server.html#doccgixmlrpcrequesthandler"> 21.27.5. DocCGIXMLRPCRequestHandler T0></a></span></li></ul></li><li class="toctree-l1"><span class="yiyi-st" id="yiyi-160"><a class="reference internal" href="ipaddress.html">21.28. <code class="docutils literal"><span class="pre">ipaddress</span></code> - IPv4 / IPv6操作库</a></span><ul><li class="toctree-l2"><span class="yiyi-st" id="yiyi-143"><a class="reference internal" href="ipaddress.html#convenience-factory-functions">21.28.1.便利工厂功能</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-149"><a class="reference internal" href="ipaddress.html#ip-addresses">21.28.2. IP地址</a></span><ul><li class="toctree-l3"><span class="yiyi-st" id="yiyi-144"><a class="reference internal" href="ipaddress.html#address-objects">21.28.2.1.地址对象</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-145"><a class="reference internal" href="ipaddress.html#conversion-to-strings-and-integers">21.28.2.2.转换为字符串和整数</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-148"><a class="reference internal" href="ipaddress.html#operators">21.28.2.3.运算符</a></span><ul><li class="toctree-l4"><span class="yiyi-st" id="yiyi-146"><a class="reference internal" href="ipaddress.html#comparison-operators">21.28.2.3.1.比较运算符</a></span></li><li class="toctree-l4"><span class="yiyi-st" id="yiyi-147"><a class="reference internal" href="ipaddress.html#arithmetic-operators">21.28.2.3.2.算术运算符</a></span></li></ul></li></ul></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-156"><a class="reference internal" href="ipaddress.html#ip-network-definitions">21.28.3. IP网络定义</a></span><ul><li class="toctree-l3"><span class="yiyi-st" id="yiyi-150"><a class="reference internal" href="ipaddress.html#prefix-net-mask-and-host-mask">21.28.3.1.前缀,网络掩码和主机掩码</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-151"><a class="reference internal" href="ipaddress.html#network-objects">21.28.3.2.网络对象</a></span></li><li class="toctree-l3"><span class="yiyi-st" id="yiyi-155"><a class="reference internal" href="ipaddress.html#id1">21.28.3.3.运算符</a></span><ul><li class="toctree-l4"><span class="yiyi-st" id="yiyi-152"><a class="reference internal" href="ipaddress.html#logical-operators"> 21.28.3.3.1.逻辑运算符</a></span></li><li class="toctree-l4"><span class="yiyi-st" id="yiyi-153"><a class="reference internal" href="ipaddress.html#iteration">21.28.3.3.2.迭代</a></span></li><li class="toctree-l4"><span class="yiyi-st" id="yiyi-154"><a class="reference internal" href="ipaddress.html#networks-as-containers-of-addresses">21.28.3.3.3.作为地址容器的网络</a></span></li></ul></li></ul></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-157"><a class="reference internal" href="ipaddress.html#interface-objects">21.28.4.接口对象</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-158"><a class="reference internal" href="ipaddress.html#other-module-level-functions">21.28.5.其他模块级功能</a></span></li><li class="toctree-l2"><span class="yiyi-st" id="yiyi-159"><a class="reference internal" href="ipaddress.html#custom-exceptions">21.28.6.自定义例外</a></span></li></ul></li></ul></div></div></div> |