python - How to run Pygame? -


We were asked to download Pygame for class. I have ensured that it has been downloaded correctly by opening the IWL and those instructions have been followed and it is being downloaded but I am confused about running it, this happens when I call it Python Try to run:

  Trackback (most recent call final): File "C: \ user \ Sharon \ download \ pygametest-1.py", in line 11, (module ) Ball = pygame.image.load ("python.png") Pygame.error: pytho N.png could not open  

please help!

This means that python.png is unavailable in your downloads folders. So please make sure that the file is there before you run the program again again.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -