#!/bin/bash
# 执行 Python 文件的路径列表
python_files=(
"./markprice_eth.py"
"./orderbook_eth.py"
"./orderbook_btc.py"
)
# 循环遍历执行 Python 文件
for file in "${python_files[@]}"; do
echo "Running $file"
python "$file"
echo "Completed $file"
done
~
shell文件按顺序执行多个python代码
最新推荐文章于 2024-06-16 23:26:06 发布