[newbie] help with pygame-tutorial

MRAB python at mrabarnett.plus.com
Mon Apr 9 16:37:50 EDT 2012


On 09/04/2012 21:20, aapeetnootjes wrote:
> I'm trying out the pygame tutorial at http://www.pygame.org/docs/tut/intro/intro.html
> If I try out the code I'm facing an error:
> ./game.py: line 4: syntax error  at unexpected symbol 'size'
> ./game.py: line 4: `size = width, height = 320, 240'
>
> can anyone here tell me what's going wrong?
>
> thanks

That code looks OK to me.

Please copy and paste the first few lines of what you actually have in
your script, in case it's subtly different.



More information about the Python-list mailing list