f



How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?

How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?

0
satishmlmlml
11/14/2014 12:51:33 AM
comp.lang.python 77058 articles. 6 followers. Post Follow

1 Replies
1917 Views

Similar Articles

[PageSpeed] 5

On 11/13/2014 7:51 PM, satishmlmlml@gmail.com wrote:
in 4 different threads
> How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?
> fileno() in not supported. Is it only in 3.1? What is the workaround?
 > io.UnsupportedOperation: fileno
 > How to give a file descriptor number to this function? How to get a 
file descriptor number?

Satish, you are acting like the variety of troll called a Help Vampire. 
  One of the symptoms is hogging the newsgroup by starting multiple 
threads a day, often on the same topic.  Another is ignoring the advice 
to read and study the manuals. Another is ignoring advice to read, 
study, and follow advice on how to ask good questions.  Please desist.

-- 
Terry Jan Reedy

0
Terry
11/14/2014 5:20:59 AM
Reply: