Hi,

Is there an elegant way to assign to a list from a list of unknown
size?  For example, how could you do something like:

>>>  a, b, c = (line.split(':'))
if line could have less than three fields?

Thanks,
TB

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to