Robert Segaar wrote:
          infile =open(fname)
          if os.path.exists(ftemp):
os.remove(ftemp) outfile = open(ftemp,"w")
          outfile.write(infile.read().replace(search,replace))
          outfile.flush
          outfile.close
          outfile.flush
          infile.close

Die vier regels doen niks. Als je een functie wil uitvoeren moet je er () achterzetten, anders krijg je de functie zelf terug en doe je er niks mee.

Wichert.

--
Wichert Akkerman <[EMAIL PROTECTED]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.

_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan