Projects‎ > ‎

Project 9

This is our two-week project - this is also the project you will submit (with revisions) as the "final exam".
Build on your previous script, that retrieved URLs.  This time:
  • Go to the "weather.gov" (not .com) site and use the search functions to get the 7-day forecast for a location of your choice.
  • Copy the resulting URL, and use it as input to your script.
  • Retrieve the URL as you did with the last project.
  • If the retrieval succeeds, get the content of the web site.
  • Use the "Beautiful Soup 4" package to assist you in parsing the web site content.
  • Your script must print the location name, the expected low temperatures, and the expected high temperatures.
  • As before, your script will loop to allow the user to make these requests multiple times.