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