[Courses] [python] Lesson 4: Modules and command-line arguments

Leslie leslie.brothers at verizon.net
Mon Jul 11 15:22:35 UTC 2011


Correction: When I typed the below, regarding exercise 4,
> 
> "Thus I got extra word counts in the case of files containing empty
> lines, compared with wc -c, when using line.split(' ').",

      I should have typed "compared with wc -w".

It is getting interesting. Lenore's results show that line.split(None)
does the same as line.split(), so that is another clue about the
difference between those, and line.split(' ').
> 
-Leslie




More information about the Courses mailing list