Writing different sections into a file
harirammanohar at gmail.com
harirammanohar at gmail.com
Mon Apr 25 05:50:37 EDT 2016
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..
More information about the Python-list
mailing list