the datetime module let' add dates to our graph to make it more useful the first date from the weather data file is in the second row of the file, , , , , , , , , , ,--snip-the data will be read in as stringso we need way to convert the string 'to an object representing this date we can construct an object representing july using the strptime(method from the datetime module let' see how strptime(works in terminal sessionfrom datetime import datetime first_date datetime strptime('''% -% -% 'print(first_date : : we first import the datetime class from the datetime module then we call the method strptime(with the string containing the date we want to work with as the first argument the second argument tells python how the date is formatted in this example'% -tells python to interpret the part of the string before the first dash as four-digit year'% -tells python to interpret the part of the string before the second dash as number representing the monthand '%dtells python to interpret the last part of the string as the day of the monthfrom to the strptime(method can take variety of arguments to determine how to interpret the date table - shows some of these arguments