82.file () and open () have the same function and can be replaced arbitrarily.
83.UNS Universal Line break support
Using iterators after 84.python2.3 is much more efficient than xreadlines
85. Standard files (standard input, standard output (buffered output), standard error (unbuffered output), can be accessed as long as the program is executed, these files are pre-clocked. Sys.sdtin Sys.stdout Sys.stderr
86. Use getopt and optparse to handle program parameter issues
87. Types of exceptions: Nameerror, Zerodivisionerror, SyntaxError, Indexerror, Keyerror, IOError, Attributeerror ...
88. A try can have multiple except one except can also have multiple error types
89.Exception can catch all the anomalies, of course you can also except nothing, but not recommended
90.SystemExit and Keyboardinterupt are not caused by errors, we need to be careful when we judge
91.SystemExit and Keyboardinterupt, exception's mom is baseexception.
92. Exception try except can also use Else,else to indicate that all try statement segments execute successfully before the else
93.
Learn "python core programming" to do a bit of knowledge, easy to review (ii)