Teach Your Kids To Code: A Parent-friendly Guide to Python Programming

(vip2019) #1
Pygame Setup for Windows, Mac, and Linux 283

Figure B-7: Open IDLE from the
Start menu.


  1. In the Python shell editor, type import pygame and press
    enter. The Python shell should respond with >>>, as shown
    in Figure B-8. If it does, then you know Pygame installed
    correctly and is ready to use.


Figure B-8: Import Pygame in the Python shell.

Now you’re ready to run the programs from Chapters 8
through 10. Happy coding!

Free download pdf