I am currently running: Python 3.5.1 :: Anaconda 4.0.0 (x86_64).
ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7601: ordinal not in range(128)
When running the below code I get the above error. When I save and try to open the txt file from a local directy I experience the same error, however, when I save and run a duplicate, that I shorten to ~25 lines the run as expected -- any guidance would be very much appreciated.
import numpy as np
import matplotlib.pyplot as pp
import seaborn
import urllib.request
urllib.request.urlretrieve('ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-stations.txt','stations.txt')
print(open('stations.txt','r').readlines()[:10])