【发布时间】:2009-06-18 15:11:43
【问题描述】:
我正在寻找一种从批处理文件中调用 python 脚本并从 python 脚本中获取返回码的方法。我知道令人困惑,但它基于当前正在使用的系统。我会重写它,但这样会快得多。
所以:
Bat ---------------------> Python
* call python file *
Bat <--------------------------------- Python
* python does a load of work *
* and returns a return code *
【问题讨论】:
标签: python batch-file