我试图将pygame窗口的名称从"Pygame Window"更改为"test caption".我试过了:
pygame.display.set_caption('test caption')
但我不认为这是正确的剧本.
python pygame
pygame ×1
python ×1