Created
August 7, 2016 08:49
-
-
Save junpeitsuji/65cecba0a36c15e12d9f4832fb6a9e43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
array = [] | |
File.open("leech.csv") do |io| | |
io.each do |line| | |
v = line.split(",") | |
v2 = v.map{|a| a.to_i} | |
array.push v2 | |
end | |
end | |
p array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment