open image pygame code example
Example 1: how to blit image in pygame
def blit_img(img,x,y):
screen.blit(img,[x,y])
Example 2: How to make an image in pygame
# Ufo.png is just a random download. You are supposed to put the file name over there, in quotation marks
pygame.image.load('ufo.png')