the-honk/python/pythonchallenge.com/12 - Evil.py

3 lines
110 B
Python
Raw Normal View History

2021-06-12 18:58:06 +00:00
data = open("evil2.gfx", 'rb').read()
for i in range(5):
open('{0}.jpg'.format(i), 'wb').write(data[i::5])