|Due: February 27, 2012||Points: 100|
As for all earlier assignments, please put refinements for all your programs into one file called “refinements.txt” or “refinements.pdf”, and error journal entries for all your programs into one file called “errors.txt” or “errors.pdf”.
In the example outputs, what your program outputs is in typewriter font, what the user types is in italicized typewriter font, and the user typing “enter” or “return” is represented by the character “↵”. You don’t need to change the font, use italics, or show the “↵” in your output.
For example, if the file “xxx.txt” contains the words
wean example execution of the program would be:
what do I do (s word, a word, f file, p)? f xxx.txt↵
Added word 'we' to list
Added word 'people' to list
Added word 'these' to list
Added word 'united' to list
Added word 'states' to list
added words to wordlist
what do I do (s word, a word, f file, p)? p↵
what do I do (s word, a word, f file, p)? s states↵
'states' is word number 12
what do I do (s word, a word, f file, p)? ↵
Submit: Please turn in your program in the file “ls1.py”.
What URL should I fetch? http://www.rfc-editor.org/rfc/rfc1149.txt↵Submit: Please turn in your program in the file “urlread.py”.
7. Network Working Group D. Waitzman
8. Request for Comments: 1149 BBN STC
9. 1 April 1990
12. A Standard for the Transmission of IP Datagrams on Avian Carriers
. . . skipping lines 14 through 112 . . .
114. Waitzman [Page 2]
ECS 10, Basic Concepts of Computing
Winter Quarter 2012