Skip to content

Instantly share code, notes, and snippets.

@skuro
Created May 4, 2017 14:59
Show Gist options
  • Save skuro/0eb0d3349fbb91f7d0e9877f5d978f9f to your computer and use it in GitHub Desktop.
Save skuro/0eb0d3349fbb91f7d0e9877f5d978f9f to your computer and use it in GitHub Desktop.
>>> import datetime
>>> "oggi e' %s" % datetime.date.today()
"oggi e' 2017-05-04"
>>> "oggi e' %r" % datetime.date.today()
"oggi e' datetime.date(2017, 5, 4)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment