Dear Kent,
thanks your comment.
>> > When this program leaves from the while loop, it doesn't terminate the
>> > comreader thread.
>>If you call self.setDaemon() here you will mark the thread as a daemon
>>thread and it will not block the exit of the program.
It works well.
Yours sincerely,
______________________________
Janos Juhasz
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor