You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/05_weather_client/you_try/README.md
+26-3
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ The WHITE text is output from the program. The YELLOW input is what the users ty
8
8
9
9
This application will ask the user for their zip code. Then you will use this zip code, the requests and beautiful soup 4 PyPI packages to download a weather web page, scrape out the relevant info and display it back on the console.
10
10
11
+
Note: If you visit [wunderground.com](https://www.wunderground.com) today and search for a location, it no longer uses the zipcode as clearly in the URL. For example, my local report is [wunderground.com/weather/us/or/portland](https://www.wunderground.com/weather/us/or/portland). However, the URL in the code and demos still works entirely well. It's just not publicly used on the site. For example, this URL is fine:
Measurement = collections.namedtuple('Measurement', 'temp, lat, long, quality') # Create an instance of that type of named tuple m = Measurement(22.5, 44.234, 19.02, 'strong') temp = m[0] # old skool temp = m.temp # new hotness quality = m.quality # new hotness print(m) # Measurement(temp=22.5, lat=44.234,
0 commit comments