This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 25th, 2011  |  syntax: Python  |  size: 0.45 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import sys
  2. import time
  3.  
  4. time.sleep(2)
  5. sys.stderr.write("NOK this line\n")
  6. time.sleep(2)
  7. sys.stdout.write("OK this line\n")
  8. time.sleep(2)
  9. sys.stdout.write("OK this line again\n")
  10. time.sleep(2)
  11. sys.stderr.write("NOK this line again\n")
  12. time.sleep(2)
  13. sys.stdout.write("OK this line\n")
  14. time.sleep(2)
  15. sys.stderr.write("NOK this line\n")
  16. time.sleep(2)
  17. sys.stdout.write("OK this line again\n")
  18. time.sleep(2)
  19. sys.stderr.write("NOK this line again\n")
clone this paste RAW Paste Data