the-honk/python/pythonchallenge.com/12 - Evil.py
2021-06-12 19:58:06 +01:00

3 lines
No EOL
110 B
Python

data = open("evil2.gfx", 'rb').read()
for i in range(5):
open('{0}.jpg'.format(i), 'wb').write(data[i::5])