Pythonでテキストファイルから1行づつ読み込んで処理を行う[Python]

7月 27, 2020

fname = "url.txt"
with
open(fname) as f:
for line in f:
contents = requests.get(line)
time.sleep(1.5)

Python

Posted by vastee