推荐学习书目
› 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
qile1
V2EX  ›  Python

Python 如何运行 nodejs 开源模块, pyexecjs 是否只能简单执行

  •  
  •   qile1 · Apr 17, 2018 · 4687 views
    This topic created in 3090 days ago, the information mentioned may be changed or developed.

    如题,win10 安装 python3.6 后,gdcm 模块无法安装(据说 python2.7 可以安装成功),这个是我迄今为止找到的唯一处理包含压缩 jpg 的 dicom 文件办法,pydcm 无法直接读取有压缩的 dcm 文件 发现好多 js 开源代码可以处理 dcm 压缩图像,比如 https://unpkg.com/cornerstone-core 有没有办法将 js 执行结果传给 python 二次处理

    3 replies  •  2018-08-20 02:40:49 +08:00
    golmic
        1
    golmic  
       Apr 17, 2018 via Android
    python 用 os.popen 调用 node 然后取结果,或者更简单的,直接 js 写文件 python 读就好。
    testsec
        2
    testsec  
       Apr 17, 2018 via iPhone
    PYexecJS 是只能执行简单的,1 楼的办法不错
    bestehen
        3
    bestehen  
       Aug 20, 2018
    @testsec 怎么说是简单的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2338 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 11:28 · PVG 19:28 · LAX 04:28 · JFK 07:28
    ♥ Do have faith in what you're doing.