Laura and I would like to have the wedding outdoors. Naturally, this means that weather will play a significant factor. To get some idea of what the weather will be like on the big day, I whipped up some Python to calculate local average temperature, rainfall, and wind speed for the time surrounding April 5th. import csv import urllib2 STATION_ID = 'KNCOAKIS1' WEATHER_URL = \ 'http://www.wunderground.com/weatherstation/WXDailyHistory.asp?' REQUEST_DATA = { 'ID': STATION_ID, 'format': 1, 'year': None, 'month': None, 'day': None, } def _GetRequestData(year, month, day): request_data = REQUEST_DATA.copy() request_data['year'] = year request_data['month'] = month request_data['day'] = day return request_data def GetDayStats(year, month, day): request_data = _GetRequestData(year, month, day) get_data = '&'.join('%s=%s' % (k, v) for k, v in request_data.items()) u