Created
October 28, 2023 13:22
-
-
Save coseos/9957b01141414d2b5f3bc83e08ae9fe9 to your computer and use it in GitHub Desktop.
Print calendar for current month from python
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
#!/usr/bin/env python3 | |
# Print calendar for current month from python | |
import calendar | |
import datetime | |
(lambda d : print(calendar.month(d.year,d.month)))(datetime.datetime.now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment