Using the following command I was able to get the numerical day of the week for a given date:
from calendar import weekday
print(weekday(2015, 5, 8))
This block then produces the number 4
. How can I convert this into Friday
, preferably just using the calendar library. I've looked through the documentation as best as I can but couldn't find anything that would print out the full day name.
Cheers.