Alan Gauld wrote:
"Norman Khine" <[EMAIL PROTECTED]> wrote

Frankly I'd use a database. Just load the data into it using Python.
Then execute SQL querioes to get the counts etc.

Not really an option to use SQL just for this.

I'm curious why?
It seems to suggest that using SQL is somehow a big deal?

I am not sure how to implement this for now, as I have not used SqlLite.


But with the SqlLite database access that ships with Python 2.5+
the database is just a normal file and you access it using
SQL commands. There is no database server or DBA involvement
etc. if that is your concern.

SqlLite is specifically designed for these kinds of small scale
ad-hoc query of complex data type of scenarios.

I will look into this, but for now, can you advise on how to loop through the list and add each item found to the counter as this is the logic I don't understand.


Or is there something else that rules it out?

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to