tail -f sys.stdin

Antal Rutz arutz at mimoza.pantel.net
Thu Jun 9 14:26:40 CEST 2005


OK, it was really a newbie thing:

import sys
while True:
    line = sys.stdin.readline()
    process(line)

sorry.


-- 


--arutz





More information about the Python-list mailing list