an error

Laurent Pointal laurent.pointal at free.fr
Tue Jul 19 13:24:49 EDT 2016


WePlayGames WeEnjoyIt wrote:

<zip>
>  elif p2==8:
>    pygame1.blit(image3,(143,146) <============= missing )
>  total+=1
>  fps=40
>  clockfps.tick(fps)
>  pygame.display.update()
> 
> the problem with this is that i get an syntax error at the very end at the
> TOTAL+=1 when i delete this it tells me that there is an error at the
> clockfps.tick(fps) thing what the heck is going on :p

Someone else shows you the error.

When you have a syntax error in a specific line (see printed traceback), it 
is common to have to look at previous lines to identify some open 
parenthesis, brackets, square brackets with missing close one.

A+
Laurent.




More information about the Python-list mailing list