basic python list/dict/key question/issues..

2009-01-13 Thread bruce
Hi.. quite new to python, and have a couple of basic question: i have (term:[1,2,3]) as i understand it, this is a list, yes/no? how can i represent this as a dict/list? i've got a few of these that i'm trying to deal with.. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: basic python list/dict/key question/issues..

2009-01-13 Thread Roger
On Jan 13, 11:59 am, bruce bedoug...@earthlink.net wrote: Hi.. quite new to python, and have a couple of basic question: i have  (term:[1,2,3]) as i understand it, this is a list, yes/no? how can i represent this as a dict/list? i've got a few of these that i'm trying to deal with..

Re: basic python list/dict/key question/issues..

2009-01-13 Thread Albert Hopkins
On Tue, 2009-01-13 at 08:59 -0800, bruce wrote: Hi.. quite new to python, and have a couple of basic question: i have (term:[1,2,3]) as i understand it, this is a list, yes/no? No, that's invalid syntax: (term:[1,2,3]) File stdin, line 1