带logo 无黑框打包
pyinstaller -F -w -i logo.ico x.py
无logo 无黑框
pyinstaller -F -w x.py
普通打包 一个 单文件exe 有黑框
pyinstaller -F x.py
普通打包 非单文件exe有黑框
pyinstaller x.py
PIL 打包坑点 需要指定 字体
#否则会失败
options = {
'module_width': 0.24,
'module_height':6.0,
'font_size': 8,
'text_distance': 3,
'quiet_zone':4,
'font_path': r'C:\Windows\Fonts\arial.ttf', # Arial字体(纯数字/英文)
}