#!/bin/sh CURDIR="`dirname $0`" #获取此脚本所在目录 echo $CURDIR cd $CURDIR #切换到该脚本所在目录 python /code/mlp_predict.py