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
(self, prompt="")
| 261 | return more |
| 262 | |
| 263 | def raw_input(self, prompt=""): |
| 264 | """Write a prompt and read a line. |
| 265 | |
| 266 | The returned line does not include the trailing newline. |
| 267 | When the user enters the EOF key sequence, EOFError is raised. |
| 268 | |
| 269 | The base implementation uses the built-in function |
| 270 | input(); a subclass may replace this with a different |
| 271 | implementation. |
| 272 | |
| 273 | """ |
| 274 | return input(prompt) |
| 275 | |
| 276 | |
| 277 |