[Python-Dev] quit() on the prompt
BJörn Lindqvist
bjourne at gmail.com
Wed Mar 8 00:20:19 CET 2006
More information about the Python-Dev mailing list
Wed Mar 8 00:20:19 CET 2006
- Previous message: [Python-Dev] quit() on the prompt
- Next message: [Python-Dev] quit() on the prompt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
do {
cmd = readline()
do_stuff_with_cmd(cmd);
} while (!strcmp(cmd, "quit"));
printf("Bye!");
exit(0);
KISS?
--
mvh Björn
- Previous message: [Python-Dev] quit() on the prompt
- Next message: [Python-Dev] quit() on the prompt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list