Reading standard input

MindClass jonas.esp at
Sat Oct 28 15:17:22 CEST 2006

The program shows a license text, then the user has to accept the
license (or not).
Is there another way to get text from console? (that using

foo =
if foo != 'yes'

I also would to trap the KeyboardInterrupt for that doesn't show that
message. How would it be possible?

More information about the Python-list mailing list