import subprocess subprocess.call("csv_gen.pl -by overall", shell=True) 转载于:https://www.cnblogs.com/guolongnv/p/8964491.html