學習python踩過的坑

1.pygame字體在win10報錯 報錯提示:OSError: unable to read font file ‘…\lib\site-packages\pygame\freesansbold.ttf’ 解決辦法:在\lib\site-packages\pygame目錄下新建fonts文件夾,而後將freesansbold.ttf放入,將self.font = pygame.font.SysF
相關文章
相關標籤/搜索