HOME/Articles/

matplotlib example loto03 (snippet)

Article Outline

Python matplotlib example 'loto03'

Modules used in program:

  • import csv

python loto03

Python matplotlib example: loto03

import csv

csv_reader = csv.reader(open("loto6.csv","r",encoding='CP932'),delimiter=",",quotechar='"')
header = next(csv_reader)

print(' '.join(header))
for row in csv_reader:
  print(' '.join(row))