March 2003
Intermediate to advanced
656 pages
39h 30m
English
getline
getline(filename,lineno)
Reads and returns the lineno line from the
text file named filename, including the
trailing \n. For any error,
getline does not raise exceptions, but rather
returns the empty string ''. If
filename is not found,
getline also looks for the file in the directories
listed in sys.path.