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 carefully. -- Antoon Pardon -- https://mail.python.org/mailman/listinfo/python-list