non blocking named pipes

Yves Serrano yserrano at cdr.ethz.ch
Mon Jun 23 11:53:52 EDT 2003


hi

I have a problem with named pipes....
I searched in the web, but don't found any working solution....

My Problem is that I have a pipe (/temp/pipe) where sometimes some data 
ist written into, but not very often.
I try to write a python script that opens the pipe and gets the data if 
its there. I no data is there the script
should not block, it should immediately exit without data.

How to do that?

I'm using python 2.2 on linux

regards yves





More information about the Python-list mailing list