学习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
相关文章
相关标签/搜索