Bad file descriptor

sohcahtoa82 at gmail.com sohcahtoa82 at gmail.com
Fri Nov 14 00:43:55 CET 2014


On Thursday, November 13, 2014 3:40:50 PM UTC-8, satish... 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?

http://bit.ly/1zRWHyq



More information about the Python-list mailing list