If you are on Linux, then xlrd is your friend. (Find it on pypi or
http://www.python-excel.org/) In my case, the spreadsheet was large, and the columns moved around from time to time, so I wrote a mini-ORM (xlrd_helper) to allow me to refer to the spreadsheet columns by name, rather than by number, and handle the idiosyncrasies of my application. I have been working on this for several months, but my work is too application specific to publish. (You probably do not need to do automatic spelling correction for the names of Nigerian villages.) The python code which does the import is implemented as a set of manage.py command scripts.
Vernon Cole
On Saturday, June 1, 2013 3:21:33 AM UTC-6, Ali hallaji wrote: