code.InteractiveConsole.raw_input

InteractiveConsole.raw_input(prompt='')[source]

Write a prompt and read a line.

The returned line does not include the trailing newline. When the user enters the EOF key sequence, EOFError is raised.

The base implementation uses the built-in function raw_input(); a subclass may replace this with a different implementation.