Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 15th, 2012  |  syntax: Python  |  size: 0.22 KB  |  views: 25  |  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.  
  3. try:
  4.     while(True):
  5.         try:
  6.             x = raw_input('>>')
  7.             print (x + '2')
  8.         except EOFError:
  9.             break
  10.  
  11. except KeyboardInterrupt:
  12.     sys.exit(1)
  13. ~
clone this paste RAW Paste Data