|
|
|
|
|
by thaumasiotes
1420 days ago
|
|
In the python shell, `exit` is a string containing a message to the effect of "You can leave the shell by sending EOF (CTRL-D)". I've seen HN commenters express extreme outrage over this ("They obviously know what you want to do, so why not just do it?!?!?"), but I love it. The first time I got that message, I considered it incredibly helpful, because sending EOF will work on any tool that reads from standard input, not just python. I hadn't known how to do that before the python shell taught me! |
|