[Tutor] data question

Alan Gauld alan.gauld at btinternet.com
Sun Oct 3 01:46:34 CEST 2010


"Roelof Wobben" <rwobben at hotmail.com> wrote

>>> Perhaps a simple SQLlite database?

> Oke, there I can save the input data.
> But I have also need a data model for team, played_games, 
> game_points,
> made_points and againts_points.
> So I think it cannot be done without using a class for games and one 
> for ranking.

If you use a database you won't need any classes. All you need is the 
data
model in the database and some SQL queries to extract and manipulate 
the
date to produce your reports. But using a SQL database may be more 
than
you can cope with just now IMHO, I'd stick to the basic Python for 
now.

Alan G. 




More information about the Tutor mailing list