novel2audio/stride.py

13 lines
160 B
Python
Raw Normal View History

2014-06-21 12:01:37 +00:00
from sys import stdin, stdout
i = 0
while True:
data = stdin.read(2)
if not data:
break
if i%2 == 0:
stdout.write(data)
i+=1