Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64774
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!cleanfeed1-a.proxad.net!nnrp5-1.free.fr!not-for-mail |
|---|---|
| Message-ID | <52E51BB7.1020801@hotmail.com> (permalink) |
| Date | Sun, 26 Jan 2014 15:29:11 +0100 |
| From | lgabiot <lgabiot@hotmail.com> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.python |
| To | python-list@python.org |
| Subject | Re: Can't get sqlite3.Row working: keyword lookup doesn't work |
| References | <52e46bf3$0$2378$426a34cc@news.free.fr> <mailman.5990.1390723532.18130.python-list@python.org> |
| In-Reply-To | <mailman.5990.1390723532.18130.python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Lines | 19 |
| Organization | Guest of ProXad - France |
| NNTP-Posting-Date | 26 Jan 2014 15:29:11 CET |
| NNTP-Posting-Host | 82.246.122.61 |
| X-Trace | 1390746551 news-3.free.fr 2212 82.246.122.61:63229 |
| X-Complaints-To | abuse@proxad.net |
| Xref | csiph.com comp.lang.python:64774 |
Show key headers only | View raw
Le 26/01/14 09:05, Peter Otten a écrit : > Please remember to cut and past the traceback next time. > >> What is wrong? > > My crystal ball says that you have a > > from __future__ import unicode_literals > > statement at the beginning of the module. If I'm right try > > row[b"filename"] Thanks a lot for your answer! your crystal ball was completely right, indeed I use the __future__ import, and the b'' fixed everything. Three days I was trying to get this...
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can't get sqlite3.Row working: keyword lookup doesn't work lgabiot <lgabiot@hotmail.com> - 2014-01-26 02:59 +0100
Re: Can't get sqlite3.Row working: keyword lookup doesn't work Peter Otten <__peter__@web.de> - 2014-01-26 09:05 +0100
Re: Can't get sqlite3.Row working: keyword lookup doesn't work lgabiot <lgabiot@hotmail.com> - 2014-01-26 15:29 +0100
Re: Can't get sqlite3.Row working: keyword lookup doesn't work lgabiot <laurent.gabiot@gmail.com> - 2014-01-26 15:29 +0100
csiph-web