How do i read just the last line of a text file?

nephish cotyspend at yahoo.com
Sun May 29 00:42:46 EDT 2005


Hey there.
i want to set a variable to represent the last line of a text file
how do i do that?
or even better, how do i create a list of the lines of a text file?




More information about the Python-list mailing list