物理の駅 Physics station by 現役研究者

テクノロジーは共有されてこそ栄える

ウェブ上にあるPDFファイルをダウンロードする方法

import urllib.request
url = "https://test.test/test.pdf"
filename = "test.pdf"
urllib.request.urlretrieve(url, filename)