Re: Find and replace is appending when run more than once ...

2009-04-17 Thread MRAB
paul.scipi...@aps.com wrote: Hello, I grabbed some sample code from the web and put together this python script which searches all subdirectories for a specific file type, then replaces a string with a new one. Out of curiosity I ran it again. Here's what happens (this also happens for the

Find and replace is appending when run more than once ...

2009-04-17 Thread Paul . Scipione
Hello, I grabbed some sample code from the web and put together this python script which searches all subdirectories for a specific file type, then replaces a string with a new one. Out of curiosity I ran it again. Here's what happens (this also happens for the files I am looking to replace O