On Jul 26, 2:32 pm, John Machin <sjmac... at lexicon.net> wrote: > On Jul 27, 7:19 am, Rohan <vodela.... at gmail.com> wrote: > > > f = open("/home/t/tp/va/e7.csv", "ab") > > a means Append -- you are appending the data that you expect to the > EXISTING contents of the file. Hello John, Yea silly mistake, write mode will do. thanks