Started to work with SQLite3 in Python3

Cecil Westerhof Cecil at
Sun Sep 20 17:49:52 CEST 2015

I started a little project in Python3 with SQLite3:

I do not mind to get some feedback on it.

I was wondering about two things:
- Would it be better to split the code into several parts. (For
  example the SQL statements.)
- I understood that with
    for fuel in fuel_cursor:
  a fetchall will be executed.
  At the moment I do not see this as a problem, but if the table would
  become very big it could. Would it be better to rewrite it with a
  But that is then needed inside and before the loop. What would be a
  little ugly.

Cecil Westerhof
Senior Software Engineer

More information about the Python-list mailing list