- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path06.py
More file actions
Latest commit
23 lines (19 loc) · 497 Bytes
/
Copy path06.py
File metadata and controls
23 lines (19 loc) · 497 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
importzipfile
z=zipfile.ZipFile("channel/channel.zip", "r")
b=b""
defread_next(file_name):
globalz
globalb
b+=z.getinfo("{}.txt".format(file_name)).comment
f=open("channel/channel/{}.txt".format(file_name), "r")
lines=f.readlines()
foriinrange(len(lines)):
s=lines[i]
ary=s.split()
result=ary[-1]
ifresult.isdigit():
read_next(result)
else:
pass
read_next(90052)
print(b.decode())