Bad file descriptor

sohcahtoa82 at sohcahtoa82 at
Fri Nov 14 00:43:55 CET 2014

On Thursday, November 13, 2014 3:40:50 PM UTC-8, satish... at wrote:
> import os
> os.write(1, b'Hello descriptor world\n')
> OSError: Bad file descriptor
> How to give a file descriptor number to this function? How to get a file descriptor number?

More information about the Python-list mailing list