How to add a current string into an already existing list

Antoon Pardon antoon.pardon at
Tue Nov 5 11:59:21 CET 2013

Op 05-11-13 11:33, Nick the Gr33k schreef:
> Στις 5/11/2013 12:20 μμ, ο/η Antoon Pardon έγραψε:
>> Did you read the documentation of fetchone?
> fetchone is like fetchall except from the fact that the former returned
> a row of data while the latter returned a list of rows of data.

>From this answer it seems you didn't read the documentation very carefully.

> I dont know why it copmains about:
> TypeError: 'NoneType' object is not iterable
> what object is supposed to have benn of None type?
> how do i check for it?

This is realy rather basic python knowledge. But maybe things
become clear after you read the documentation of fetchone more

Antoon Pardon

More information about the Python-list mailing list