Advertisement
dimkiriaoks

html calendar generator

Jan 8th, 2022
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import calendar
  2.  
  3. cal = calendar.LocaleHTMLCalendar(locale='el_GR.utf8')
  4.  
  5. print(cal.formatyear(2022))
  6.  
  7. f = open('gr_cal.html', 'w+')
  8. f.write(cal.formatyear(2022))
  9. f.close()
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement