re beginner

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sun Jun 4 20:39:37 EDT 2006


bearophileHUGS at lycos.com a écrit :
>>strings = islice(data2, 0, len(data), 2)
>>numbers = islice(data2, 1, len(data), 2)
> 
> 
> This probably has to be:
> 
> strings = islice(data2, 0, len(data2), 2)
> numbers = islice(data2, 1, len(data2), 2)

try with islice(data2, 0, None, 2)



More information about the Python-list mailing list