test.txt には、ダウンロードするファイルのリストが含まれています。
http://example.com/example/afaf1.tif
http://example.com/example/afaf2.tif
http://example.com/example/afaf3.tif
http://example.com/example/afaf4.tif
http://example.com/example/afaf5.tif
これらのファイルは、Python を使用して最大のダウンロード速度でどのようにダウンロードできますか?
私の考えは次のとおりでした。
import urllib.request
with open ('test.txt', 'r') as f:
lines = f.read().splitlines()
for line in lines:
response = urllib.request.urlopen(line)
その後は?ダウンロード先の選択方法は?