~dkuhlman/python-training-materials/Materials

« back to all changes in this revision

Viewing changes to Exercises_python/bonus_exercises.txt

  • Committer: Dave Kuhlman
  • Date: 2015-10-03 18:25:17 UTC
  • mfrom: (35.1.5 Materials)
  • Revision ID: dkuhlman@davekuhlman.org-20151003182517-b2m7eltjdapw46zh
Review for Cisco.  Merged checkpoint 10

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
--------------------
232
232
 
233
233
Synopsis:
 
234
    Implement a server that uses a low level Python socket to echo a response.
 
235
    Use the "socket" module in the Python standard library.
 
236
Usage:
 
237
    python socket_echo_server.py
 
238
Resources:
 
239
    The Python socket module -- https://docs.python.org/2/library/socket.html
 
240
Solution:
 
241
    Solutions/socket_echo_server.py
 
242
 
 
243
--------------------
 
244
 
 
245
Synopsis:
 
246
    Implement a client that uses a low level Python socket to echo a response.
 
247
    Use the "socket" module in the Python standard library.
 
248
Usage:
 
249
    python socket_echo_client.py
 
250
Solution:
 
251
    Solutions/socket_echo_client.py
 
252
 
 
253
--------------------
 
254
 
 
255
Synopsis:
234
256
    A simple server that responds to a Web request with "pong".
235
257
Usage:
236
258
    python gevent1.py