On 07/04/2016 18:49, Dimitar Ivanov wrote:
Hello everyone,
I have a (hopefully) quick and easy to explain question. I'm currently
using MySQLdb module to retrieve some information from a database. In my
case, the result that's being yield back is a single line.
As far as my understanding goes,
On 07/04/16 18:49, Dimitar Ivanov wrote:
> As far as my understanding goes, MySQLdb function called 'fetchone()'
> returns the result as a tuple. Problem is, the tuple has some unnecessary
> characters, such as an additional comma being returned. In my case:
The comma is what makes it a tuple, it
Dimitar Ivanov writes:
> I have a (hopefully) quick and easy to explain question. I'm currently
> using MySQLdb module to retrieve some information from a database. In
> my case, the result that's being yield back is a single line.
Just a note: The term is a “record” or “tuple”. It may be presen
Hello everyone,
I have a (hopefully) quick and easy to explain question. I'm currently
using MySQLdb module to retrieve some information from a database. In my
case, the result that's being yield back is a single line.
As far as my understanding goes, MySQLdb function called 'fetchone()'
returns