且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 Selenium 模块创建一个 Exe:Py2exe/Pyinstaller

更新时间:2023-12-01 22:54:16

试试这个:

options={
    'py2exe':
        {
            'skip_archive': True,
            'unbuffered': True,
            'bundle_files': 2, #assuming you dont want to include the python interpreter
            'optimize': 2,
        },
},
zipfile = None