python代碼: Java代碼 import os file os.system(line) ruby程式碼: Java程式碼 file = File.open("ttt.txt") %x(scp #{line.chomp} #{ line.replace("/","")}) end