file = "epi4_center"
f = open(file)
out_file = "epi4_center.text"
out = open(out_file,"w")
#
while str = f.gets
  v = str.chop.split("|")
  out.printf "%.3f %.3f 8 0.0 21 CM %s\n",v[0].to_f, v[1].to_f,v[2]
end
f.close; out.close

タグ:

+ タグ編集
  • タグ:
最終更新:2007年07月13日 13:03