PyDocs

Nav

Custom Python Interpreters

InteractiveConsole.raw_input

  • InteractiveConsole.raw_input(prompt='')
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
input(); a subclass may replace this with a different
implementation.
0 Examples
No examples for code/InteractiveConsole.raw_input.
See Also
No see-alsos for code/InteractiveConsole.raw_input
0 Notes
No notes for InteractiveConsole.raw_input