import urllib.request url = 'https://raw.githubusercontent.com/BarsTiger/catbench/main/CatBench.py' urllib.request.urlretrieve(url, 'D:\catbench.py')