Can I hook a "file" to a python script?

Gary D. Duzan gduzan at bbn.com
Mon Nov 10 12:36:55 EST 2003


In article <2kqv71-9u4.ln1 at valpo.de>, Mathias Waack  <M.Waack at gmx.de> wrote:
>Scott Chapman wrote:
>
>> I understand named pipes to be "one-way" only.  Is that correct?
>
>Not for Linux. Linux named pipes are bidirectional. I assume this
>holds for all unices but I'm not sure. 

   No, it doesn't hold everywhere. A more portable bi-directional
construct would be a UNIX/LOCAL domain socket bound to a file.

					Gary Duzan
					BBN Technologies
					A Verizon Company






More information about the Python-list mailing list