trying to create a dictionary in python, using variables as a value

Gabriel Genellina gagsl-py at
Tue Nov 21 00:03:41 CET 2006

At Monday 20/11/2006 04:40, ronrsr wrote:

>but I keep getting syntax errors on this one -
>adict = {'zid': result[0][0], 'keywords': result{0][1],

There *are* syntax errors, result{0] should be result[0], and 
result[0]{3] should be result[0][3]

Gabriel Genellina
Softlab SRL 

Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! -

More information about the Python-list mailing list