the-honk/languages/python/pythonchallenge.com/12 - Evil.py
2022-01-05 20:25:29 +00: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])