|
Spliting Strings Table Of Contents
Python provides a convient method for extracting the entire contents of a file and storing it into a string list lines = infile.readlines() Consider the following example program which produces a double spaced version of the text file myreport.txt by inserting a blank line between each existing line. | |
© 2006 - 2008: Rance Necaise - Page last
modified on September 17, 2006, at 06:20 PM
|