[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Help needed for pygame beginner



Hi all,

I just started to learn pygame and try to write my own first test programs
now. I can run some examples from the internet just fine, so I am sure my 
pygame installation is ok.

Now I tried to write my own code, but it seems I am doing something wrong 
(please see attached sample code). Result: I get the white window as 
expected, but no black rect drawn onto this surface.

Any ideas what I am doing wrong here?
Greetings and TIA, Matthias

-- 
Homer: Ooh, look at this one!  The Hammer of Thor!  (Reading)  "It
 will send your pins to ... Valhalla?"  Lisa?

Lisa: Valhalla is where vikings go when they die.

Homer: Ooh, that's some ball.

     The Telltale Head

Attachment: barcodes.py
Description: application/python