newbie pipe question

Steve Holden steve at holdenweb.com
Tue Sep 5 03:00:32 EDT 2006


linuxnooby at yahoo.com.au wrote:
> Hi
> 
> I want to write a python script that accepts input ( a single line of
> text) from another program (squid proxy) and sends back output ( a
> single line of text). I am not sure how to go about this
> 
Traditionally one of the popenN() functions would have been the way to 
do this. Nowadays one might prefer the subprocess module's facilities.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list