Here is my small program,
import pygame pygame.init()
Here is my compilation command.
python myprogram.py >
python myprogram.py
Rename pygame.py to another_name_as_pygame.py and this is your new Code:
import pygame from pygame.locals import * pygame.init()