python head, tail and backward read by lines of a text file

How to implement somethig like the 'head' and 'tail' commands in python and backward read by lines of a text file?

9
задан user739650 5 May 2011 в 10:17
поделиться