printing dictionary and tuple

Beema shafreen beema.shafreen at gmail.com
Wed Mar 19 07:16:52 EDT 2008


Hi everbody

i am trying to print the dictionary values and tuple in a same line as below

print "\t".join(dict[a].values())+'\t'+"\t".join(b)

Error I get is the  TypeError,
 since i have  misisng values in the dictionary. if i use exception i will
miss those
how should i print the data without missing the lines excluding the error
separated by tab.


-- 
Beema Shafreen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080319/f560a518/attachment.html>


More information about the Python-list mailing list