1import datetime
2my_date = datetime.date.today() # if date is 01/01/2018
3year, week_num, day_of_week = my_date.isocalendar()
4print("Week #" + str(week_num) + " of year " + str(year))
1today_day = date.today()
2days = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","sunday"]
3print("Today weekday is ",days[today_day.weekday()])