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


Groups > comp.lang.python > #61826

Re: Need help with file object

Date 2013-12-13 10:57 -0500
From bob gailer <bgailer@gmail.com>
Subject Re: Need help with file object
References <CACDG_KfbVuPbBpMWVcgVMQLjZ5N+mm-oPAaqyPoBKV62cW80hA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4073.1386950259.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/12/2013 11:29 PM, Unix SA wrote:
> ...
>
> With above prog I am getting error
> TypeError: coercing to Unicode: need sting or buffer, file found
>
In future please copy and paste the entire traceback. It appears that 
you typed in just one line of it.

In this case the line raising the exception was obvious, but often it is 
not.

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


Thread

Re: Need help with file object bob gailer <bgailer@gmail.com> - 2013-12-13 10:57 -0500

csiph-web