fenghuangscannerV3 EXE版本

作者wils0n未给出EXE版本,鼓捣了下:

1.安装pyinstaller

2.fenghuangscanner目录防止pyinstaller下

3.

pyinstaller.py --console --onefile -p c:Python27Libsite-packages  fenghuangscanner_v3-mastermain.py

4.当前目录下生成maindistmain.exe

PS:过程中会出现问题

(1)由于使用pymssql,需在main.py中import uuid;import _mssql import decimal

(2)config.py import sys,修改exit() 为sys.exit()

目前测试正常。

wr by zh9 2016.6.16

原文地址:https://www.cnblogs.com/crac/p/5592578.html