py4e
py4e copied to clipboard
Proofreading checklist
Things I've encountered as one-offs that I'll Ctrl-f for in all chapters:
- [x] remove all
u'unicode strings'since Python 3 is unicode by default (esp chapter 14) - [ ] make sure all markdown links have http:// in the URL
- [ ] explain
u'vsb'in Python 2 & 3 at the appropriate points. The python docs have a great explanation of urllib here:
Note that urlopen returns a bytes object. This is because there is no way for urlopen to automatically determine the encoding of the byte stream it receives from the http server. In general, a program will decode the returned bytes object to string once it determines or guesses the appropriate encoding.
- [ ] Bad hyphens and any other character problems. Just saw this bad hyphen in chapter 12:

There may be other problem characters. Once they're found it's an easy job to go replace them with the right char.
(Added bad hyphens to list)