Hello, My script starts like this:
book=readFromExcelRange('book')
house=readFromExcelRange('house')
table=readFromExcelRange('table')
read=readFromExcelRange('read')
...
But I would like to have something equivalent, like...
ranges=['book','house','table','read']
for i in ranges:
var[i]=readFromExcelRange(i)
which does not work. I assume I should be using globals() instead of
var, but I do not know how to write my script.
Can anybody help?
--
http://mail.python.org/mailman/listinfo/python-list
