Python怎么用socket读取网站数据

2025-06-20 14:02:04
推荐回答(1个)
回答1:

是要连接到www.pythonlearn.com,然后发送请求获取/code/intro-short.txt,这样才行,HTTP请求格式网上应该有。