472,961 Members | 2,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

pipe tutorial

does anyone know some good tutorial on pipes in python?

thx
May 22 '07 #1
4 1786
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bernhard Kuemel | last post by:
Hi! I want to read/write commands and program input to/from /bin/bash several times before I close the stdin pipe. However, reading from cat hangs unless I first close the stdin pipe. <?php...
1
by: jenny | last post by:
Hi, I have a java socket program running on AIX 4.3.3.0 platform. It opens a socket and sends data to our customer over a leased fractional T1 line. The line is always connected. However,...
5
by: richard | last post by:
I have a simple test to pass information from a client to a server using named pipe. what I really want is: when I type a line on the client, the server will output the line immediately. but to my...
5
by: Average_Joe | last post by:
My apologies if this is a mundane question everyone has asked at some point. I don't usually work with c/c++ so there are probably obvious things that I'm missing.. I'd like to find an elegant...
7
by: Greg | last post by:
I am trying to implement the UNIX pipe command using C but with the "->" operator. Everything works fine with 1 pipe, but when I try to use 2 or more, it hangs up when reading the pipe_in...
2
by: FB's .NET Dev PC | last post by:
I am writing two services in VB.NET, one of which needs to send text strings to the other. After reading, I decided (perhaps incorrectly) that named pipes would be the best interprocess...
2
by: Steve R. Hastings | last post by:
While studying iterators and generator expressions, I started wishing I had some tools for processing the values. I wanted to be able to chain together a set of functions, sort of like the...
2
by: Dhika Cikul | last post by:
Hello, I'm new in Python, i don't know my subject is correct or wrong. I have problem with my script. I want to change password with passwd password in python without user submitted anything...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.