download pygame for python code example
Example 1: install pygame
# on your terminal :
pip install pygame
# check if pygame run :
py -m pygame.examples.aliens
# if a window is open -> pygame is correctly installed
Example 2: pip install pygame
py -m pip install -U pygame --user
Example 3: pygame download
py -m pygame.examples.aliens