DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get the current year in python
import datetime now = datetime.datetime.now().year print(now)
PREVIOUS
NEXT
Tagged:
#current
#year
#python
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit