python打开文件逐行读取文件命令并执行【点击查看详情】
python打开文件逐行读取文件命令并执行:import os file = open("cc.txt") for line in file: os.system(line)file = File.open("ttt.txt") file.each_line do |line| %x(scp #{line.chomp} #{line.replace("/","")}) end
相关视频/文章
linuxpython环境变量配置步骤
linuxpython环境变量配置步骤 2021-02-09 04:08:14
Python环境变量的配置
Python环境变量的配置 2022-03-23 19:57:04