diff --git "a/\344\270\215\345\245\275\347\224\250\346\234\211\347\211\271\345\210\253\344\270\245\351\207\215.py" "b/\344\270\215\345\245\275\347\224\250\346\234\211\347\211\271\345\210\253\344\270\245\351\207\215.py" index 64ecaee..c3d2734 100644 --- "a/\344\270\215\345\245\275\347\224\250\346\234\211\347\211\271\345\210\253\344\270\245\351\207\215.py" +++ "b/\344\270\215\345\245\275\347\224\250\346\234\211\347\211\271\345\210\253\344\270\245\351\207\215.py" @@ -3,5 +3,8 @@ from pygame import locals pygame.init() screen = pygame.display.set_mode((660,480),0,32) -while True: - \ No newline at end of file +while True: + for event in pygame.encode_file_path() + if event.type == locals.QUIT: + exit() + screen.blit(BytesWarning,(0,0)) \ No newline at end of file