I believe this is the necessary code to initialize Pygame:
running = True
pygame.init()
while running:
screen.fill((0, 0, 0))
screen.blit(background, (0,0))
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
However, it isn't working. I have already tried to update my "pip install pygame", and it did, but to no avail. I use Sublime Text 3.