daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest May 16th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import datetime
  2. import time
  3. run = True
  4. while(run):
  5.   currentDateTime = datetime.datetime.now()
  6.   currentDate = datetime.date.today()
  7.   currentTime = datetime.time
  8.   graduation = datetime.datetime(2018,6,16,11)
  9.   timeDelta = graduation - currentDateTime
  10.   #print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
  11.   print("{:,} seconds until graduation".format(timeDelta.days*86400  + timeDelta.seconds), graduation)
  12.   print(timeDelta.days, "days")
  13.   time.sleep(1)
  14.   #print('.')
  15.   #time.sleep(1)
  16.   print('..')
  17.   #time.sleep(1)
  18.   ##print('...')
  19.   time.sleep(1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top