Pair of filenos read/write each other?
Rhodri James
rhodri at wildebst.demon.co.uk
Tue Aug 13 20:17:40 EDT 2013
On Wed, 14 Aug 2013 00:10:41 +0100, Jack Bates <tdhfwh at nottheoilrig.com>
wrote:
> Can anyone suggest a way to get a pair of file descriptor numbers such
> that data written to one can be read from the other and vice versa?
>
> Is there anything like os.pipe() where you can read/write both ends?
Sockets? It depends a bit on what you're trying to do, exactly. If you
give us a bit more context, we might be able to give you better advice.
--
Rhodri James *-* Wildebeest Herder to the Masses
More information about the Python-list
mailing list