writing dictionaries to a file
kavitha thankaian
kavithapython at yahoo.co.in
Wed Mar 21 10:35:05 EDT 2007
Hi All,
I have two dictionaries:
somex:{'unit':00, type:'processing'}
somey:{'comment':'fair', 'code':'aaa'}
somey:{'comment':'good', 'code':bbb'}
somey:{'comment':'excellent', 'code':'ccc'}
now i would like to write this to a file in the following format(unit, code),,,the output should be as follows written to a file,,,
00, aaa
00, bbb
00, ccc
can someone help me?
Regards
Kavitha
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070321/f46af270/attachment.html>
More information about the Python-list
mailing list