Skip to content

Commit 261b493

Browse files
12
1 parent 72fb2f5 commit 261b493

File tree

11 files changed

+9
-0
lines changed

11 files changed

+9
-0
lines changed

12.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
all = open("evil/evil2.gfx", "rb")
2+
content = all.read()
3+
all.close()
4+
5+
for i in range(5):
6+
file = open("evil/{}.jpg".format(i), "wb")
7+
file.write(content[i::5])
8+
file.close()

evil/0.jpg

13.2 KB
Loading

evil/1.jpg

13.2 KB
Loading

evil/2.jpg

13.2 KB
Loading

evil/3.jpg

13.2 KB
Loading

evil/4.jpg

13.2 KB
Loading

evil/evil1.jpg

84.5 KB
Loading

evil/evil2.gfx

66 KB
Binary file not shown.

evil/evil2.jpg

20.4 KB
Loading

evil/evil3.jpg

19 KB
Loading

0 commit comments

Comments
 (0)