num_string = int(raw_input("give me a number: "))
>>> num = int("hello") Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: invalid literal for int(): hello