python terminal get input code example Example: input from terminal python text = raw_input("prompt") # Python 2 text = input("prompt") # Python 3