On Dec 26, 1:09 am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Mon, 24 Dec 2007 17:14:58 +0100, Martin P. Hellwig wrote:
> > As Dennis already pointed out I like to use dictionaries in these cases,
> > so I would use sand = dict() instead of sands = list() and would do
> > s
Steven D'Aprano wrote:
> On Mon, 24 Dec 2007 17:14:58 +0100, Martin P. Hellwig wrote:
>
>> As Dennis already pointed out I like to use dictionaries in these cases,
>> so I would use sand = dict() instead of sands = list() and would do
>> sand[i] = pygame.image.load(name)
>>
>> Then you can retriev
On Mon, 24 Dec 2007 17:14:58 +0100, Martin P. Hellwig wrote:
> As Dennis already pointed out I like to use dictionaries in these cases,
> so I would use sand = dict() instead of sands = list() and would do
> sand[i] = pygame.image.load(name)
>
> Then you can retrieve the content by doing sand[you