Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80740

Re: Bad file descriptor

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Bad file descriptor
Date 2014-11-14 05:17 +0000
References <442861d9-4280-4222-9084-f626a7782161@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.15807.1415942240.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 13/11/2014 23:40, satishmlmlml@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

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bad file descriptor satishmlmlml@gmail.com - 2014-11-13 15:40 -0800
  Re: Bad file descriptor sohcahtoa82@gmail.com - 2014-11-13 15:43 -0800
  Re: Bad file descriptor Ben Finney <ben+python@benfinney.id.au> - 2014-11-14 10:56 +1100
    Re: Bad file descriptor Roy Smith <roy@panix.com> - 2014-11-13 19:41 -0500
  Re: Bad file descriptor Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-14 05:17 +0000
  Re: Bad file descriptor Cameron Simpson <cs@zip.com.au> - 2014-11-14 18:42 +1100

csiph-web