[Python-Dev] quit() on the prompt (original) (raw)

BJörn Lindqvist bjourne at gmail.com
Wed Mar 8 00:20:19 CET 2006


do { cmd = readline() do_stuff_with_cmd(cmd); } while (!strcmp(cmd, "quit")); printf("Bye!"); exit(0);

KISS?

-- mvh Björn



More information about the Python-Dev mailing list