File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Given homework #2, add the following features to it, via the optparse
2- module:
1+ Commit homework #2 to a 'homework' repo on github.com. Something like:
2+ git://github.com/cbnoonan/homework.git/2/cogserver.py.
3+
4+ Given homework #2, copy it to a different location in the repo (like
5+ 3/cogserver2.py) and add the following features to it, via the
6+ optparse module.
37
48o Accept an optional host and port arguments. -o HOST (or --host=HOST)
59and -p PORT (or --port=PORT). These default to Homework #2's values if
@@ -46,6 +50,6 @@ Welcome to CogServer ('127.0.0.1', 50808)
46506668632071627475626866722e2e2e0d0a0d0a094a554e4721
4751
4852
49- Hints:
5053
51- o Encoding a string is as easy as: somestr.encode(encoding)
54+ Push your changes to github as often as possible so I can see your
55+ progress.
You can’t perform that action at this time.
0 commit comments