Flavian Hardcastle <deathtospam43423 at altavista.com> wrote in news:Xns91B873A49D077AusYourStandingInIt at 210.49.20.254: > out_file = open("log.txt", "w") mode 'a' does append (thats the one you want), 'w' starts a new file for writing, adding a plus 'a+' or 'w+' opens for read/write -- Chris <cliechti at gmx.net>