Paste number 80151: tomorrow.py

Index of paste annotations: 1 | 2

Paste number 80151: tomorrow.py
Pasted by: sbp
When:3 years, 1 week ago
Share:Tweet this! | http://paste.lisp.org/+1PUF
Channel:#swhack
Paste contents:
Raw Source | XML | Display As
import datetime

def tomorrow(): 
   return datetime.datetime.now() + datetime.timedelta(days=1)

Annotations for this paste:

Annotation number 1: without the import
Pasted by: sbp
When:3 years, 1 week ago
Share:Tweet this! | http://paste.lisp.org/+1PUF/1
Paste contents:
Raw Source | Display As
def tomorrow(): 
   return datetime.datetime.now() + datetime.timedelta(days=1)

Annotation number 2: printed output
Pasted by: sbp
When:3 years, 1 week ago
Share:Tweet this! | http://paste.lisp.org/+1PUF/2
Paste contents:
Raw Source | Display As
import datetime

print datetime.datetime.now() + datetime.timedelta(days=1)

Colorize as:
Show Line Numbers
Index of paste annotations: 1 | 2

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.