writing a file:newbie question

kavitha thankaian kavithapython at yahoo.co.in
Mon Feb 19 06:02:29 EST 2007


Hi,
   
  i have a file test.txt and it contains a list of strings say,,,
   
  "a","b","c","d","a1","b1","c1","d1","a2","b2","c2","d2",
   
  i would like to write the file as
   
  "a","b","c","d"
  "a1","b1","c1","d1
  "a2","b2","c2","d2"
   
  and would like to delete the comma at the end.
   
  if soneone knows pls help me,,,
   
  kavitha

 				
---------------------------------
 Here’s 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/20070219/95536ea8/attachment.html>


More information about the Python-list mailing list