Luca Fabbri wrote:
>Ho scritto:
>
>for x in vocab:
> uid = x[0]
> title = x[1]
>
vocab = [ ('1', 'titolo 1'), ('2', 'titolo 2') ]
for x in vocab:
tempa = 0
tempar = {}
for y in x:
tempar[tempa] = y
tempa = tempa + 1
uid = tempar[0]
title = tempar[1]
print uid + ' => ' + title
...
voi che dite ? puo' andare ?