Whats wrong with this code?
Marc Christiansen
tolot at solar-system.dynodns.net
Sun Aug 26 15:10:08 EDT 2001
Adonis Vargas <deltapigz at telocity.com> wrote:
> data = pirc_data.readlines()
This is the culprit if I'm not mistaken.
readlines() will read till the file ends; in this case, till the other end
closes the connection. Try pirc_data.readline() instead. I guess this is
what you meant in trhe first place
This is from my head, so might be totally wrong...
using-his-router-cause-his-amiga-refuses-to-work'ly
Marc
More information about the Python-list
mailing list