Bad file descriptor

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Nov 14 00:17:04 EST 2014


On 13/11/2014 23:40, satishmlmlml at gmail.com 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?
>

I suggest getting your cheque book out and paying for the advice you so 
desperately need.  Or follow the advice already given about asking smart 
questions.  Or RTFM.  Or simply go away.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list