Are you planning to pipe data to a python program? If so please
specify and you will get more complete answers.
Specifically I am thinking you want information pertaining to
subprocess in the standard library.
https://docs.python.org/3/library/subprocess.html

On Sat, Oct 18, 2014 at 2:36 PM, George R Goffe
<grgo...@yahoo.com.dmarc.invalid> wrote:
> Hi,
>
> When you run a python program, it appears that stdin, stdout, and stderr are 
> opened automatically.
>
> I've been trying to find out how you tell if there's data in stdin (like when 
> you pipe data to a python program) rather
> than in a named input file. It seems like most/all the Unix/Linux
> commands are able to figure this out. Do you know how Python programs do this 
> or might do this?
>
> MANY thanks for any/all help/hints/tips/suggestions,
>
> George...
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to