Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Excel 我可以在Pyinstaller上使用openpyxl python3包吗?_Excel_Python 3.x_Automation_Package - Fatal编程技术网

Excel 我可以在Pyinstaller上使用openpyxl python3包吗?

Excel 我可以在Pyinstaller上使用openpyxl python3包吗?,excel,python-3.x,automation,package,Excel,Python 3.x,Automation,Package,我想使用python3创建一个excel自动化应用程序。我可以在Pyinstaller上使用openpyxl python3包,以便我的程序可以向其他用户执行吗?如果没有,您建议什么样的套餐?是的。首先,使用pip安装PyInstaller: pip安装pyinstaller Windows:在包含脚本的文件夹中打开命令提示符或PowerShell和cd。编写以下内容并按Enter键: pyinstaller--onefile您的_script.py 您可以从dist文件夹中找到冻结的exe。是

我想使用python3创建一个excel自动化应用程序。我可以在Pyinstaller上使用openpyxl python3包,以便我的程序可以向其他用户执行吗?如果没有,您建议什么样的套餐?

是的。首先,使用pip安装PyInstaller:

pip安装pyinstaller

Windows:在包含脚本的文件夹中打开命令提示符或PowerShell和cd。编写以下内容并按Enter键:

pyinstaller--onefile您的_script.py


您可以从dist文件夹中找到冻结的exe。

是的,您可以……谢谢您的详细回答。但是,冻结exe和dist文件夹是什么意思?Bcs im称之为冻结,因为所有模块和脚本都打包到一个可执行文件中。Pyinstaller将主可执行文件放入冻结期间创建的dist文件夹中。请在此处阅读更多信息: