在linux下可以新建一个名为run.sh的脚本:

#!/bin/sh
while [ 1 ]; do
  python program.py --params
done

 

在命令行中这样启动:

sh run.sh

相关文章:

  • 2021-08-01
  • 2021-07-19
  • 2022-01-02
  • 2022-12-23
  • 2021-08-24
  • 2021-06-28
  • 2022-02-08
猜你喜欢
  • 2022-02-28
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案