[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] curs.fetchone() ...
From: |
Hilmar Berger |
Subject: |
Re: [Gnumed-devel] curs.fetchone() ... |
Date: |
Sun, 9 Feb 2003 18:22:33 +0100 (CET) |
On Sun, 9 Feb 2003, Karsten Hilbert wrote:
> ... returns a list even if there's only one column, Hilmar !
Yes, I noticed that. But I do use result[0] afterwards, so shouldn't be a
big problem. Maybe it's somewhat ugly, though :)
> >>> result = curs.fetchone()
> >>> print result
> ['a column']
Hilmar