the-honk/python/pythonchallenge.com/12 - Evil.py
2024-10-09 18:02:48 +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])