【发布时间】:2016-04-19 18:16:11
【问题描述】:
我试图弄清楚如何将标志从 Node/Express 应用程序传递给 python 脚本。在命令行中,我通过运行来执行脚本:
python ndbc.py --buoy 46232
我正在使用 python-shell 模块,我认为它应该允许我这样做,但我不完全确定它是如何工作的。
python-shell 文档:
https://github.com/extrabacon/python-shell#running-a-python-script-with-arguments-and-options
【问题讨论】:
标签: javascript python node.js express