摘要:
1 # -*- coding: utf-8 -*- 2 3 from PIL import Image 4 from pylab import * 5 6 def compare_pic_L(pic1,pic2): 7 #打开第一张图片 8 im1 = Image.open(pic1).convert('L') 9 print im1.format ... 阅读全文
posted @ 2016-12-29 21:31
willowj
阅读(2513)
评论(0)
推荐(0)
摘要:
在命令行中切换到要打包的程序所在目录,或者在程序目录打开命令行,直接输入下面的指令即可pyinstaller -F xxx.py pyinstaller -F -w -i manage.ico app.py -F:打包为单文件-w:Windows程序,不显示命令行窗口-i:是程序图标,app.py是 阅读全文
posted @ 2016-12-29 12:08
willowj
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号