import pygame import sys pygame.init() #fonts------------ dialogue_font = pygame.font.SysFont('arial', 15) #screen----------- screen = pygame.display.set_mode((400, 400)) screen.fill((255,255,255)) dialogue = dialogue_font.render("Hey there, Beautiful weather today!", True, (0,0,0)) screen.blit(dialogue, (40,40)) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit() pygame.display.update()