On Monday, April 25, 2016 at 1:01:12 PM UTC+5:30, Palpandi wrote: > Hi, > > I need to write different sections into a file. > At any point of time, content can be added to any section. > > I don't want keep each section into a temporary file. > What is the better way to store the contents of each section and write them > into a file at the end? > What is the better datatype to achieve this? > > > Thanks and Regards, > Palpandi
use ConfigParser.. -- https://mail.python.org/mailman/listinfo/python-list