Re: populating my postgres with openpyxl

2014-03-27 Thread Thomas Lockhart
I keep getting this error, saying that there is 0207.xlsx is not there, but it is in the directory. File "hsdata.py", line 34, in wb = load_workbook(filename = fname, use_iterators=True) File

populating my postgres with openpyxl

2014-03-27 Thread willy Hakizimana
I am new to django/python and have been stuck. What is wrong with my script? from openpyxl import Workbook, load_workbook import os import psycopg2 import pycountry #Make the dictionary of countries country_dict = {} country_list = list(pycountry.countries) for country in country_list: