Carsten Gaebler wrote: > > Traceback (most recent call last): > File "./listener.py", line 27, in ? > f = os.fdopen(fd, 'r') > OSError: [Errno 9] Bad file descriptor > > What am I missing? > Seems I have to open the file in 'w+' mode to make it work. cg.