471,075 Members | 658 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

pipe tutorial

does anyone know some good tutorial on pipes in python?

thx
May 22 '07 #1
4 1698
Gigs_ wrote:
does anyone know some good tutorial on pipes in python?

thx
Pipes is specific only to Windows (you can use sockets
on Windows/Linux/mac). The only specific treatment of
pipes I've seen is in Python Programming for Win32 by
Mark Hammond/Andy Robinson.

-Larry
May 22 '07 #2
En Tue, 22 May 2007 11:11:45 -0300, Larry Bates <la*********@websafe.com>
escribió:
Gigs_ wrote:
>does anyone know some good tutorial on pipes in python?

Pipes is specific only to Windows (you can use sockets
on Windows/Linux/mac). The only specific treatment of
pipes I've seen is in Python Programming for Win32 by
Mark Hammond/Andy Robinson.
There are pipes in Unix too, named and anonymous, and I think they predate
its introduction in Windows (first on NT4 I believe). "Pipes" used to
redirect standard input/output are certainly much older.
To the OP: what do you want to do, exactly?

--
Gabriel Genellina

May 22 '07 #3
Gabriel Genellina wrote:
En Tue, 22 May 2007 11:11:45 -0300, Larry Bates
<la*********@websafe.comescribió:
>Gigs_ wrote:
>>does anyone know some good tutorial on pipes in python?

Pipes is specific only to Windows (you can use sockets
on Windows/Linux/mac). The only specific treatment of
pipes I've seen is in Python Programming for Win32 by
Mark Hammond/Andy Robinson.

There are pipes in Unix too, named and anonymous, and I think they
predate its introduction in Windows (first on NT4 I believe). "Pipes"
used to redirect standard input/output are certainly much older.
To the OP: what do you want to do, exactly?

--Gabriel Genellina
You are right. I didn't think about piping of commands since that
wouldn't really be a Python question. I thought user wanted pipes
for interprocess communication that is prevalent in Windows. I
guess the OP can chime in and we can answer the question better.

-Larry
May 22 '07 #4
Larry Bates schrieb:
Gabriel Genellina wrote:
>En Tue, 22 May 2007 11:11:45 -0300, Larry Bates
<la*********@websafe.comescribió:
>>Gigs_ wrote:
does anyone know some good tutorial on pipes in python?
Pipes is specific only to Windows (you can use sockets
on Windows/Linux/mac). The only specific treatment of
pipes I've seen is in Python Programming for Win32 by
Mark Hammond/Andy Robinson.
There are pipes in Unix too, named and anonymous, and I think they
predate its introduction in Windows (first on NT4 I believe). "Pipes"
used to redirect standard input/output are certainly much older.
To the OP: what do you want to do, exactly?

--Gabriel Genellina
You are right. I didn't think about piping of commands since that
wouldn't really be a Python question. I thought user wanted pipes
for interprocess communication that is prevalent in Windows. I
guess the OP can chime in and we can answer the question better.

-Larry
Hello Larry,
i have programmed pipes with Windows NT for about 8-9 years ago and have
made an update of the program two years ago under Windows XP. There
are differences in the security settings. Under XP it's not allowed to
connect to the pc by network! You have to set security options when you
create the pipe on the local machine to allow external access to the pipe.

Afterwards, i would prefer a standard TCP or UDP connection, because
it's available on every system and i do not see any advantage for using
the pipes.

In actual projects i use only TCP or UDP - depending what i have to to.

Walter
May 22 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by richard | last post: by
5 posts views Thread by Average_Joe | last post: by
7 posts views Thread by Greg | last post: by
2 posts views Thread by FB's .NET Dev PC | last post: by
2 posts views Thread by Steve R. Hastings | last post: by
2 posts views Thread by Dhika Cikul | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.