a simple def how-to
jjposner at optimum.net
Sun Mar 7 16:23:35 CET 2010
On 3/7/2010 10:05 AM, vsoler wrote:
> My script starts like this:
> But I would like to have something equivalent, like...
> for i in ranges:
> 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?
var =  # create empty list
for i in ranges:
var = [ readFromExcelRange(i) for i in ranges ]
var = map(readFromExcelRange, ranges)
More information about the Python-list