Specifying exception type
# try: num = float(raw_input("\nEnter a number: ")) except(ValueError): print "That was not a number!"