By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

pipe tutorial

P: n/a
does anyone know some good tutorial on pipes in python?

thx
May 22 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.