%connect_info a = 10 %qtconsole # Python 3 compat try: raw_input except NameError: raw_input = input name = raw_input("What is your name? ") name fingers = input("How many fingers? ") fingers, type(fingers) def div(x, y): return x/y div(1,0) %debug