I am trying to download aspx from a website using python.
url: https://ws2.osfi-bsif.gc.ca/WebApps/Temp/0cdc8784-76a1-4cb2-9354-e549c34bc591FinancialData.aspx
Here my script
from urllib.request import urlretrieve import pandas as pd url = 'https://ws2.osfi-bsif.gc.ca/WebApps/Temp/0cdc8784-76a1-4cb2-9354-e549c34bc591FinancialData.aspx' urlretrieve (url, 'data.csv') df = pd.read_csv('data.csv', sep=';') print(df.head())
it shows error.
2.1m questions
2.1m answers
60 comments
57.0k users