import pygame
pygame.display.flip() #will update the contents of the entire display
pygame.display.update() #allows to update a portion of the screen,
#instead of the entire area of the screen. Passing no arguments,
#updates the entire display
# Boutros