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 i
(self, prompt="")
| 501 | return more |
| 502 | |
| 503 | def raw_input(self, prompt=""): |
| 504 | """Write a prompt and read a line. |
| 505 | |
| 506 | The returned line does not include the trailing newline. |
| 507 | When the user enters the EOF key sequence, EOFError is raised. |
| 508 | |
| 509 | The base implementation uses the built-in function |
| 510 | input(); a subclass may replace this with a different |
| 511 | implementation. |
| 512 | |
| 513 | """ |
| 514 | return input(prompt) |
| 515 | |
| 516 | |
| 517 | def interact(banner=None, readfunc=None, local=None, exitmsg=None): |