QR.py 220 Bytes
Newer Older
Phani Surya Teja Mahankali's avatar
Phani Surya Teja Mahankali committed
1 2
from qrtools import QR
import csv
Phani Surya Teja Mahankali's avatar
Phani Surya Teja Mahankali committed
3
filename=open('data.csv','rt')
Phani Surya Teja Mahankali's avatar
Phani Surya Teja Mahankali committed
4 5 6 7 8
reader = csv.reader(filename,delimiter="\t")
for  i ,row in enumerate(reader):
    myCode = QR(data= row[0])
    myCode.encode()
    print myCode.filename