in reply to Re^2: Batch processing of files
in thread Batch processing of files
If you wanted to append to an exiting file, I'd still move the open outside of the loop. Why would you want to open the file repeatedly here?
Anyway, both of our solution are wrong. It shouldn't be moved outside of the loop. I missed the rename originally.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Batch processing of files
by kennethk (Abbot) on Feb 11, 2010 at 18:46 UTC |