SHARE
TWEET

Untitled

a guest Nov 19th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2. import sys
  3. import os
  4. from datetime import datetime
  5.  
  6. now = datetime.now()
  7. dt = now.strftime("DATE AND TIME = %d/%m/%Y  %H:%M:%S")
  8. target = dt
  9. guess = ''
  10. print('\n')
  11.  
  12. for i, c in enumerate(target):
  13.     j = ord(' ')
  14.     while True:
  15.         sys.stdout.write(f'\r{guess}{chr(j)}')
  16.         sys.stdout.flush()
  17.         time.sleep(0.01)
  18.         if chr(j) ==c:
  19.             guess += c
  20.             break
  21.         j += 1
  22. print('\n')
  23. time.sleep(2)
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