On 23/03/2006 1:53 PM, Kevin F wrote: > what does it mean when there are [0] or [1] after a variable? > > e.g. print 'Message %s\n%s\n' % (num, data[0][1])
Here's the section in the Python Tutorial that should answer your question: http://docs.python.org/tut/node5.html#SECTION005140000000000000000 You may like to start at the *beginning* of the Tutorial :-) ... or you might like to ask another question, stating your experience if any with other languages, what you want to do with Python, and asking for general advice on how to learn Python. Cheers, John -- http://mail.python.org/mailman/listinfo/python-list