RRR*_*RRR -6 python linux batch-file
请告诉我是否有一种方法可以在Linux上批量运行多个python脚本,就像在Windows上使用.bat文件批量运行多个python脚本的方式一样?谢谢.
Con*_*ner 10
创建一个脚本......
#!/bin/sh
# This file is called ~/script.sh
python script1.py
python script2.py
Run Code Online (Sandbox Code Playgroud)
使脚本可执行...
chmod +x ~/script.sh
Run Code Online (Sandbox Code Playgroud)
运行脚本......
~/script.sh
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4802 次 |
最近记录: |