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