In article <1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com>, aapeetnootjes <ilyacool...@gmail.com> 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 How did you run the code? Did you do "python game.py", or did you just make game.py executable and run ./game.py? If the later, my guess is it's being interpreted by the shell because there's no #! line. -- http://mail.python.org/mailman/listinfo/python-list