Created
March 24, 2017 16:44
-
-
Save managedkaos/52a2aafacb6561e8420151ac0c7cae6d to your computer and use it in GitHub Desktop.
Print today and tomorrow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
days = ['Monday','Tuesday','Wednesday','Thursday','Friday'] | |
today = datetime.datetime.today().strftime('%A') | |
tomorrow = (datetime.date.today() + datetime.timedelta(days=1)).strftime('%A') | |
day = tomorrow | |
day_counter=0 | |
for cell_menu_item in row('div',{'class':'cell_menu_item'}): | |
if day not in days[day_counter]: | |
day_counter += 1 | |
continue | |
print day |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment