Skip to content

Commit 5e1514c

Browse files
committed
rename to socket
1 parent db303ae commit 5e1514c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
header, html = data.split(b'\r\n\r\n', 1)
3131
print(header.decode('utf-8'))
32+
3233
# 把接收的数据写入文件:
3334
with open('sina.html', 'wb') as f:
3435
f.write(html)

0 commit comments

Comments
 (0)