[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版
Other urllib Interfaces One last mutation: the following urllib.request downloader script uses the slightly higher-level urlretr ...
C:\...\PP4E\Internet\Other> http-getfile-urllib2.py http://www.python.org /index.html http://www.python.org/index.html index. ...
invocations—the filename can contain both a remote directory path at the front and query parameters at the end for a remote prog ...
scripts should do automatically to be able to handle all possible cases well; urllib.parse.unquote can undo these escapes if nee ...
supported by Python’s xmlrpc standard library package. Such protocols can sim- plify the interface to web servers in their clien ...
...
CHAPTER 14 The PyMailGUI Client “Use the Source, Luke” The preceding chapter introduced Python’s client-side Internet protocols ...
Ultimately, though, PyMailGUI serves to illustrate just how far the combination of GUIs, networking, and Python can take us. Lik ...
html2text.py A rudimentary parser for extracting plain text from HTML-based emails Finally, the following are the new major modu ...
own text-based help window does similar work). For the break down by individual files, see the Excel spreadsheet file linecounts ...
of Python Internet scripting and as a realistically scaled example that ties together other tools we’ve already seen, such as th ...
lines of code to customize it. Want to save and delete your mail automatically as it is loaded? Add some more code and buttons. ...
Python’s POP and SMTP library modules are used to fetch, send, and delete mail over sockets. Python threads, if installed in yo ...
of three to be 1,800 new program source lines (plus 1,700 program lines in related modules reused, and 500 additional lines of h ...
seem collectively sufficient to justify assigning this version a new major release number. Here’s a summary of what’s new this t ...
Bcc addresses added to envelope but header omitted Minor change: addresses entered in the user-selectable Bcc header line of edi ...
translation of the help text with added links to sections and external sites and Python’s webbrowser module, discussed earlier i ...
48 seconds to complete an initially header load. The queue should either run faster still, or I should delete an email once in a ...
determining if adding a “Re:” or “Fwd:” to the subject would be redundant; mail list window width and height may now be configur ...
for the main text of a reply to or forward of a non-ASCII message or for non-ASCII attachments. Composed headers When sending ne ...
«
48
49
50
51
52
53
54
55
56
57
»
Free download pdf