Ver originalwith open("numeros.csv", "r") as f: reader = [[int(n) for n in line] for line in (i.rstrip().split(',') for i in f.readlines())] for i in reader: print i