How to select every other line from a text file?

Rff rwang at
Mon Oct 13 19:38:48 CEST 2014

I have a text file. Now it is required to select every other line of that text to
 generate a new text file. I have read through Python grammar, but still lack the
 idea at the beginning of the task. Could you tell me some methods to get this?


More information about the Python-list mailing list