Skip to content

Commit 1eec672

Browse files
start 22
1 parent eab7ce1 commit 1eec672

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

read-bin-file.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
def read_bin_file():
2-
file = open("evil/0.jpg", "rb")
1+
def read_bin_file(file_path):
2+
file = open(file_path, "rb")
33
bs = []
44
while True:
55
b = file.read()
@@ -11,4 +11,4 @@ def read_bin_file():
1111

1212

1313
if __name__ == "__main__":
14-
read_bin_file()
14+
read_bin_file("copper/white.gif")

0 commit comments

Comments
 (0)