How to select every other line from a text file?

Rff rwang at avnera.com
Mon Oct 13 13:38:48 EDT 2014


Hi,
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?


Thanks,



More information about the Python-list mailing list