V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lazyboy
V2EX  ›  Python

.py 文件如何转换成可执行文件呢,如 exe

  •  
  •   lazyboy · 2016-06-07 19:38:49 +08:00 · 3578 次点击
    这是一个创建于 2851 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,想要在没有 python 环境的电脑中运行 Python 程序,大神求指导
    9 条回复    2016-06-14 08:32:57 +08:00
    SlipStupig
        1
    SlipStupig  
       2016-06-07 19:49:49 +08:00
    pyinstaller
    cxyfreedom
        2
    cxyfreedom  
       2016-06-07 19:54:40 +08:00
    3.4 我用 cxFreeze 的
    daiv
        3
    daiv  
       2016-06-07 19:58:33 +08:00
    不是做成 GUI ?
    zjqzxc
        4
    zjqzxc  
       2016-06-07 20:08:59 +08:00
    py2exe
    pyinstaller
    lazyboy
        5
    lazyboy  
    OP
       2016-06-07 20:13:11 +08:00
    @daiv 不做图形界面不可以吗?
    llix
        6
    llix  
       2016-06-08 08:40:12 +08:00 via iPhone
    pyinstall 最近刚做过 pt3.4 pyqt5
    Deeer
        7
    Deeer  
       2016-06-08 12:34:09 +08:00
    我最近也在考虑同样的问题,只要还想在 mac 上允许
    brucedone
        8
    brucedone  
       2016-06-08 18:43:49 +08:00
    我曾经考虑过直接使用 pyqt , qt4 ,qt5 , 的安装就已经折腾的半死,再就是环境, IDE 的配置,后来就直接转 node.js 的跨平台的 app 了, https://github.com/electron/electron ,你值得拥有
    shamashii
        9
    shamashii  
       2016-06-14 08:32:57 +08:00 via Android
    最近试了 PY2EXE ,注意 64 位系统 64 位的 PY 会生成 64 位的 EXE (废话),执行效率貌似稍高
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3248 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:56 · PVG 21:56 · LAX 06:56 · JFK 09:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.