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
Eender
V2EX  ›  Python

Python 怎么直接打包成 DLL

  •  
  •   Eender · 2020-01-25 15:55:01 +08:00 · 6824 次点击
    这是一个创建于 1524 天前的主题,其中的信息可能已经有所发展或是发生改变。
    请问一下 python 怎么打包成 DLL,cython 除外,感觉太麻烦
    7 条回复    2020-01-26 20:59:56 +08:00
    tangbao
        1
    tangbao  
       2020-01-25 20:20:58 +08:00
    mv python.py python.dll
    PTLin
        2
    PTLin  
       2020-01-25 20:40:47 +08:00
    ysc3839
        3
    ysc3839  
       2020-01-25 23:21:59 +08:00
    “打包成 DLL”指的是什么?用 Python 编写 DLL 给别的程序调用?
    hehheh
        4
    hehheh  
       2020-01-26 03:13:03 +08:00
    我就是好奇,cython 为什么麻烦?
    Eender
        5
    Eender  
    OP
       2020-01-26 12:30:19 +08:00
    ironpython 可以直接打包,但是为啥调用报错?有没有大佬玩过的?
    antmanler
        6
    antmanler  
       2020-01-26 16:18:45 +08:00
    用 Cython 可行, 内部一个项目(由于第三方因素)用过
    FYI: http://docs.cython.org/en/latest/src/userguide/external_C_code.html
    gmywq0392
        7
    gmywq0392  
       2020-01-26 20:59:56 +08:00
    用 nuitka 编译成 so
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1536 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:16 · PVG 01:16 · LAX 10:16 · JFK 13:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.