2010/7/27 Ahmed AL-Masri <ahmed...@hotmail.com>

>  hello;
>
> I need help in append a data in new file. the problem is the new data are
> generated in every run.
> so at the end I should get all the changes in one file (means for all
> running) if I run 2 times so should get couple of data set.
> note all outputs in txt file.
>

You need to use append mode when you open the file

http://docs.python.org/library/functions.html?highlight=open#open



-- 
Joel Goldstick
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to