给python脚本打包成.exe

打包用pyinstaller,下载后直接解压 n需要下载并安装pywin32 对应64位或32位的 n然后把a.py放到pyinstaller中,运行cmd,进入pyinstaller的目录 n输入 python pyinstaller.py a.py n然后再C盘的 C:\Python27\Lib\site-packages\selenium-2.47.1-py2.7.egg 下的整个sele