Skip to content

Commit

Permalink
Update hindiQuotes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePyProgrammer authored Dec 12, 2020
1 parent 9909bc6 commit d15c23b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hindiQuotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
from bs4 import BeautifulSoup
from datetime import date, timedelta

sdate = date(2009, 10, 1) # start date
sdate = date(2009, 10, 1) # start date in format (year, month, day)
edate = date.today() # end date

delta = edate - sdate # as timedelta
print(delta)

#with open("hindiQuotes.txt", "w+") as file:
for i in range(delta.days + 1):
date = sdate + timedelta(days=i)
day = date.day
Expand Down

0 comments on commit d15c23b

Please sign in to comment.