Created
May 30, 2020 13:31
-
-
Save Allwin12/497786e6b914410c1c7e0bb556b0de66 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.formatyear(1997) | |
with open('1997.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