This archive contains the example programs for the Apress book: Foundations of Python Network Programming The Comprehensive Guide to Building Network Applications with Python Second Edition The examples for each chapter are in individual directories for that chapter. Please refer to the comments in the book's introduction for information on running these examples, and platform-specific notes. If errors are found in the examples after the book goes to print, updated examples will be posted here. -- Brandon Rhodes January, 2011 STATUS OF PYTHON 3 EXAMPLES As of January 2011 01/getname.py - OK 01/search1.py - waiting on port of "googlemaps" to Python 3 01/search2.py - OK 01/search3.py - OK 01/search4.py - OK 02/big_sender.py - OK 02/udp_broadcast.py - OK 02/udp_local.py - OK 02/udp_remote.py - OK 03/tcp_deadlock.py - OK 03/tcp_sixteen.py - OK 04/dns_basic.py - waiting on port of "pydns" to Python 3 04/dns_mx.py - waiting on port of "pydns" to Python 3 04/forward_reverse.py - OK 04/www_ping.py - OK 05/blocks.py - OK 05/streamer.py - OK 06/sslclient.py - OK 07/client.py - OK 07/lancelot.py - OK 07/lancelot_tests.py - waiting on port of "funkload" to Python 3 07/my_trace.py - OK 07/server_SocketServer.py - OK 07/server_async.py - OK 07/server_multi.py - OK 07/server_poll.py - OK 07/server_simple.py - OK 07/server_twisted.py - waiting on port of "Twisted" to Python 3 08/hashing.py - OK 08/queuecrazy.py - waiting on port of "pyzmq" to Python 3 08/squares.py - waiting on port of "python-memcached" to Python 3 09/get_rfc2616.py - OK 09/verbose_handler.py - OK 10/fetch_mechanize.py - waiting on port of "mechanize" to Python 3 10/fetch_urllib2.py - OK 10/weather.py - "lxml" part works great; "BeautifulSoup" is commented out 11/bottle_app.py - OK 11/wsgi_app.py - OK 12/mime_decode.py - OK 12/mime_gen_alt.py - OK 12/mime_gen_basic.py - OK 12/mime_gen_both.py - OK 12/mime_headers.py - OK 12/mime_parse_headers.py - OK (but why does the space character disappear?) 12/mime_structure.py - OK 12/trad_gen_newhdrs.py - OK 12/trad_gen_simple.py - OK 12/trad_parse.py - OK 13/debug.py - OK 13/ehlo.py - OK 13/login.py - OK 13/simple.py - OK 13/tls.py - OK 14/download-and-delete.py - OK 14/mailbox.py - OK 14/popconn.py - OK 15/folder_info.py - waiting on port of "imapclient" to Python 3 15/mailbox_summary.py - waiting on port of "imapclient" to Python 3 15/open_imap.py - waiting on port of "imapclient" to Python 3 15/open_imaplib.py - OK 15/simple_client.py - waiting on port of "imapclient" to Python 3 16/fabfile.py - waiting on port of "fabric" to Python 3 16/sftp.py - waiting on port of "paramiko" to Python 3 16/shell.py - OK 16/ssh_commands.py - waiting on port of "paramiko" to Python 3 16/ssh_simple.py - waiting on port of "paramiko" to Python 3 16/ssh_threads.py - waiting on port of "paramiko" to Python 3 16/telnet_codes.py - OK 16/telnet_login.py - OK 17/advbinarydl.py - OK 17/advbinaryul.py - OK 17/asciidl.py - OK 17/binarydl.py - OK 17/binaryul.py - OK 17/connect.py - OK 17/dir.py - OK 17/nlst.py - OK 17/recursedl.py - OK 18/jsonrpc_client.py - waiting on port of "lovely.jsonrpc" to Python 3 18/jsonrpc_server.py - waiting on port of "lovely.jsonrpc" to Python 3 18/rpyc_client.py - waiting on port of "rpyc" to Python 3 18/rpyc_server.py - waiting on port of "rpyc" to Python 3 18/xmlrpc_client.py - OK 18/xmlrpc_introspect.py - OK 18/xmlrpc_multicall.py - OK 18/xmlrpc_server.py - OK
zyhSysu/foundations-of-python-network-programming
Sample code from Foundations of Python Network Programming, 2nd Edition
Python