Skip to content

Instantly share code, notes, and snippets.

@mjam03
Created February 22, 2021 11:10
Show Gist options
  • Save mjam03/4b11e0465d43e270e1f2ee338a80db3e to your computer and use it in GitHub Desktop.
Save mjam03/4b11e0465d43e270e1f2ee338a80db3e to your computer and use it in GitHub Desktop.
test_14
# fortunately this file doesn't change and we have one file for the last 45+ years
r = requests.get('https://www.nrscotland.gov.uk/files//statistics/weekly-monthly-births-deaths-data/2020/dec/weekly-december-20-tab-2.zip')
zips = zipfile.ZipFile(io.BytesIO(r.content))
zips.namelist()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment