Python 打包成应用程序

2020 年 4 月 26 日
 yinuxy

大佬们好,我想把用 python 写的一个代码打包成 exe 应用程序,python 代码里面用到了相关库和 chromedriver,怎么把他们一起打包呢? 另外鄙人博客( https://blog.yinuxy.com)刚建立不久,欢迎大佬们来踩一踩啊!

3754 次点击
所在节点    Python
15 条回复
ysc3839
2020 年 4 月 26 日
PyInstaller?
jdhao
2020 年 4 月 26 日
pyinstaller,可以参考我之前写的文章: https://jdhao.github.io/2019/10/14/python_script_to_exe/
lichdkimba
2020 年 4 月 26 日
带 chromedriver 的可能难搞啊 没试过不多评论
ClericPy
2020 年 4 月 26 日
chromedriver 把文件目录那套搞明白就没什么了吧... 有什么区别么

看到后半句...
yinuxy
2020 年 4 月 26 日
@jdhao 好的,我去看看
yinuxy
2020 年 4 月 26 日
@ClericPy 嘿嘿嘿,随便打个小广告,感谢大佬指导,不懂再来问
wesleyweatherly
2020 年 4 月 27 日
@jdhao 看了你的英文博客 感觉很棒。还有哪里有类似你博客这样的中国人些的英文的编程技术博客,能介绍给我吗?
wesleyweatherly
2020 年 4 月 27 日
crab
2020 年 4 月 27 日
nuitka
heyhumor
2020 年 4 月 27 日
chromedriver 打包没意义啊,版本更新了还得换
deplives
2020 年 4 月 27 日
大家没发现,前面全是铺垫,后半句才是重点么?
qW7bo2FbzbC0
2020 年 4 月 27 日
不太好使,相关需求已经转 Netcore 3.1 和 golang 了
yinuxy
2020 年 4 月 27 日
@hjahgdthab750 嘿嘿,前半句才是重点!!!
jdhao
2020 年 4 月 27 日
@wesleyweatherly 这个我也不清楚,碰运气吧。。😄
Citrullus
2020 年 4 月 27 日
🐂🍺我的腰差点闪了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.xtra.eu.org/t/666410

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX