"Roelof Wobben" 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
> I think this is what can work : http://www.daniweb.com/code/snippet216750.html
>
> I will try it.
Good, that is exactly the kind of struicture I had in mind.
Just put the data structure in a module, forget about the
code and import it to the >>> prompt and play with it till
you are sure you
Hello Alan,
I think this is what can work : http://www.daniweb.com/code/snippet216750.html
I will try it.
Roelof
> From: rwob...@hotmail.com
> To: alan.ga...@btinternet.com; tutor@python.org
> Subject: RE: [Tutor] data question
>
> -Original Message-
> From: tutor-bounces+bermanrl=cfl.rr@python.org [mailto:tutor-
> bounces+bermanrl=cfl.rr@python.org] On Behalf Of Roelof Wobben
> Sent: Saturday, October 02, 2010 4:35 AM
> To: tutor@python.org
> Subject: [Tutor] data question
>
>
hello,
Still one question.
Every game is a dictonary/tuple ?
Regards,
Roelof
> Date: Sat, 2 Oct 2010 06:24:16 -0700
> From: alan.ga...@btinternet.com
> Subject: Re: [Tutor] data question
> To: rwob...@hotmail.com
>
> OK, So
> To: tutor@python.org
> From: alan.ga...@btinternet.com
> Date: Sat, 2 Oct 2010 14:10:25 +0100
> Subject: Re: [Tutor] data question
>
>
> "Roelof Wobben" wrote
>
>> As a test I would write a programm where a us
> From: rwob...@hotmail.com
> To: berma...@cfl.rr.com
> Subject: RE: [Tutor] data question
> Date: Sat, 2 Oct 2010 13:09:23 +
>
>
>
>
>
>> From: berma...@cfl.rr.com
>> To
"Roelof Wobben" wrote
As a test I would write a programm where a user can input game-data
like home-team, away-team, home-score, away-score) and makes a
ranking of it.
In which datatype can I put this data in.
I thought myself of a dictonary of tuples.
A dictionary would be good for the
Hello,
As a test I would write a programm where a user can input game-data like
home-team, away-team, home-score, away-score) and makes a ranking of it. And
I'm not looking of a OOP solution because im not comfertle with OOP.
Now my question is :
In which datatype can I put this data in.