Practical programming, 2nd edition

Beginning Direct3D® Game Programming 2nd Edition doc

Beginning Direct3D® Game Programming 2nd Edition doc
... Beginning ® Direct3D Game Programming nd Edition Beginning ® Direct3D Game Programming nd Edition Wolfgang F Engel © 2003 by Premier Press, a ... Letter from the Series Editor The first edition of Beginning Direct 3D Game Programming was such a great success that we thought we would follow it up with a new edition that covers slightly more advanced ... OpenGL and OS/2 game programming for German journals, coauthored a German book, and started on Windows game programming In 1997, I wrote my first online tutorials on DirectX programming and published...
  • 50
  • 143
  • 0

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

Foundations of Python Network Programming 2nd edition phần 1 doc
... Foundations of Python Network Programming The comprehensive guide to building network applications with Python Second Edition ■■■ Brandon Rhodes John Goerzen i Foundations of Python Network Programming: ... 16 3 ■Chapter 11 : Web Applications 17 9 ■Chapter 12 : E-mail Composition and Decoding 19 7 ■Chapter 13 : SMTP 217 ■Chapter 14 : POP 235 ■Chapter 15 : IMAP ... The Semantics of Non-blocking 11 3 Event-Driven Servers Are Blocking and Synchronous 11 4 Twisted Python 11 4 Load Balancing and Proxies 11 7 Threading and...
  • 37
  • 102
  • 0

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

Foundations of Python Network Programming 2nd edition phần 2 ppsx
... packet from drop packet from ('1 92. 168.5.10', ('1 92. 168.5.10', 53 322 ) ('1 92. 168.5.10', 53 322 ) ('1 92. 168.5.10', 53 322 ) ('1 92. 168.5.10', 53 322 ) 53 322 ) says, 'This is another message' What if the server ... Listing 2 2 UDP Server and Client on Different Machines #!/usr/bin/env python # Foundations of Python Network Programming - Chapter - udp_remote.py # UDP client and server for talking over the network ... Listing 2 3, which sends a 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...
  • 36
  • 185
  • 0

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

Foundations of Python Network Programming 2nd edition phần 3 docx
... the Python prompt: >>> hex(42 53) '0x109d' 73 CHAPTER ■ NETWORK DATA AND NETWORK ERRORS Each hex digit corresponds to four bits, so each pair of hex digits represents a byte of data Instead of ... message 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 - blocks.py # Sending ... could power a Python mail dispatcher that needed to deliver e-mail to remote hosts Listing 4–4 Resolving an E-mail Domain Name #!/usr/bin/env python # Foundations of Python Network Programming...
  • 36
  • 154
  • 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 ... Launcelot Protocol #!/usr/bin/env python # Foundations of Python Network Programming - Chapter - launcelot.py # Constants and routines for supporting a certain network conversation import socket, ... Listing 7–2 using only a bit more than a dozen lines of code Listing 7–2 Simple Launcelot Server #!/usr/bin/env python # Foundations of Python Network Programming - Chapter - server_simple.py # Simple...
  • 36
  • 125
  • 0

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

Foundations of Python Network Programming 2nd edition phần 5 pot
... PREF=ID=94381994af6d5c77:FF=0:TM=12882 059 83:LM=12882 059 83:S=Mtwivl7EB73uL5Ky; NID=40=rWLn_I8_PAhUF62J0yFLtb1-AoftgU0RvGSsa81FhTvd4vXD91iU5DOEdxSVt4otiISY3RfEYcGFHZA52w3-85p-hujagtB9akaLnS0QHEt2v8lkkelEGbpo7oWr9u5 ... 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 earlier >>> from urlparse import urlparse, ... first: $ python squares.py Ten successive runs: 2.75s 1.98s 1 .51 s 1.14s 0.90s 0.82s 0.71s 0.65s 0 .58 s 0 .55 s This pattern is generally characteristic of caching: a gradual improvement as the cache...
  • 36
  • 78
  • 0

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

Foundations of Python Network Programming 2nd edition phần 6 pptx
... in the 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 ... communicate in the future Python Web Frameworks And here, in the middle of this book on Python network programming, we reach what for many of you will be the jumping off point into an entirely ... Framework #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 11 - wsgi_app.py # A simple web application built using the Bottle micro-framework import base64, bottle bottle.debug(True)...
  • 36
  • 141
  • 0

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

Foundations of Python Network Programming 2nd edition phần 7 potx
... it 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 ... additional headers Listing 12–4 Generating a More Complete Set of Headers #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 12 - trad_gen_newhdrs.py # Traditional Message ... illustration of how a Message object can be mined for headers and data Listing 12–6 Parsing and Displaying a Simple E-mail #!/usr/bin/env python # Foundations of Python Network Programming -...
  • 36
  • 126
  • 0

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

Foundations of Python Network Programming 2nd edition phần 8 pps
... Listing Folders #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 15 - open_imaplib.py # Opening an IMAP connection with the pitiful Python Standard Library import getpass, ... summary information of my INBOX mail folder 249 CHAPTER 15 ■ IMAP Listing 15–5 Displaying Folder Summary Information #!/usr/bin/env python # Foundations of Python Network Programming - Chapter ... and then displays a bit of summary information about each one Listing 15–6 Downloading All Messages in a Folder #!/usr/bin/env python # Foundations of Python Network Programming - Chapter 15...
  • 36
  • 123
  • 0

Xem thêm

Nạp tiền Tải lên
Đăng ký
Đăng nhập