Created
May 30, 2020 13:39
-
-
Save Allwin12/1c77bdc6efd4555d39cc4a46465aa16a to your computer and use it in GitHub Desktop.
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
import calendar | |
c = calendar.HTMLCalendar() | |
data = c.formatmonth(2020, 5) | |
with open('2020.html', 'w') as f: | |
f.write(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment