Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 22nd, 2010 | Syntax: Python | Size: 0.21 KB | Hits: 81 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. try:
  2.     with open(sys.argv[1]) as inf):
  3.         lphrase = inf.readline().strip()
  4.         hphrase = inf.readline().strip()
  5. except (IOError, IndexError, NameError):
  6.     lphrase = "Lower."
  7.     hphrase = "Higher."