📜  来自:太多参数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:49.729000             🧑  作者: Mango

代码示例1
#in the shell file call.sh
region_name=$1 #for taking argument at run time
python "$ROOT/online-generation/applications/web2.5/UsersFilesMerge.py"  --csv-path="$ROOT/$region_name"

#pass the argument like this
bash call.sh "home/ubuntu/online/csv/users.csv"