Foundations of Python Network Programming 2nd edition phần 10 pps

Foundations of Python Network Programming 2nd edition phần 10 pps

Foundations of Python Network Programming 2nd edition phần 10 pps

... incoming Internet connections. Listing 18–1. An XML-RPC Server #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 18 - xmlrpc_server.py # XML-RPC server import operator, ... example of the incredible kinds of things that a system like RPyC makes possible, you should study these listings closely. Listing 18–7. An RPyC Client #!/usr/bin/env p...
Ngày tải lên : 12/08/2014, 19:20
  • 45
  • 253
  • 0
Foundations of Python Network Programming 2nd edition phần 2 ppsx

Foundations of Python Network Programming 2nd edition phần 2 ppsx

... very large message to one of the servers that we have just designed. Listing 2–3. Sending a Very Large UDP Packet #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 2 ... normally by both server and client. Listing 2–4. UDP Broadcast #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 2 - udp_broadcast.py # UDP...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 537
  • 0
Foundations of Python Network Programming 2nd edition phần 8 pps

Foundations of Python Network Programming 2nd edition phần 8 pps

... Arguments #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 16 - shell.py # A simple shell, so you can try running commands in the absence of # any special characters ... the python interpreter in the virtual environment to run the program shown in Listing 15–3. Listing 15–3. Listing IMAP Folders with IMAPClient #!/usr/bin/env python # Found...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 467
  • 0
Foundations of Python Network Programming 2nd edition phần 1 doc

Foundations of Python Network Programming 2nd edition phần 1 doc

... 323 BOOKS FOR PROFESSIONALS BY PROFESSIONALS ® Foundations of Python Network Programming This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, ... Intermediate–Advanced THE APRESS ROADMAP Python Algorithms Pro Python Foundations of Python Network Programming Foundations of Agile Python Develop...
Ngày tải lên : 12/08/2014, 19:20
  • 37
  • 423
  • 0
Foundations of Python Network Programming 2nd edition phần 3 docx

Foundations of Python Network Programming 2nd edition phần 3 docx

... data after it—to signal that the series of blocks is over. Listing 5–2. Sending Blocks of Data #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 5 - blocks.py # Sending ... this pattern in Listing 5–1. Listing 5–1. Sending a Single Stream of Data #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 5 - strea...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 661
  • 0
Foundations of Python Network Programming 2nd edition phần 4 ppt

Foundations of Python Network Programming 2nd edition phần 4 ppt

... periods of time are generally not very interesting when examining a quick protocol like this.) Listing 7–4. Tracer for a Python Function #!/usr/bin/env python # Foundations of Python Network Programming ... it. CHAPTER 7 ■ SERVER ARCHITECTURE 107 Listing 7–5. Test Routine Prepared for Use with FunkLoad #!/usr/bin/env python # Foundations of Python Network P...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 472
  • 0
Foundations of Python Network Programming 2nd edition phần 5 pot

Foundations of Python Network Programming 2nd edition phần 5 pot

... Listing 8–1. Constants and Functions for the Lancelot Protocol #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 8 - squares.py # Using memcached to cache expensive results. ... the functions live together in recent versions of Python for versions of Pythons older than 2.6, two of them live in the cgi module instead: # For Python 2.5 and ea...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 361
  • 0
Foundations of Python Network Programming 2nd edition phần 6 pptx

Foundations of Python Network Programming 2nd edition phần 6 pptx

... listing—to choose which of the three forms we wanted. Listing 10 2. Submitting a Form with mechanize #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 10 - fetch_mechanize.py ... Listing 10 1. Submitting a Form with “urllib2” #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 10 - fetch_urllib2.py # Sub...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 468
  • 0
Foundations of Python Network Programming 2nd edition phần 7 potx

Foundations of Python Network Programming 2nd edition phần 7 potx

... in Python. Listing 12–12. Using a Character Encoding for a Header #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 12 - mime_headers.py # This program requires Python ... Walking a Complex Message #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 12 - mime_structure.py # This program requires Python 2.2.2...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 496
  • 0
Foundations of Python Network Programming 2nd edition phần 9 doc

Foundations of Python Network Programming 2nd edition phần 9 doc

... variable. Listing 16–4. How to Process Telnet Option Codes #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 16 - telnet_codes.py # How your code might look if you ... becomes available. Listing 16–7. SSH Channels Run in Parallel #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 16 - ssh_threads.py # Running...
Ngày tải lên : 12/08/2014, 19:20
  • 36
  • 458
  • 0

Xem thêm