Hi everyone,
I have been struggling with this, hopefully, simple problem now for
quite sometime, What I want to do is:
*) read a file line by line
*) modify each line
*) write it back to a different file
This is a bit of sample code that reproduces the problem:
On Tue, Aug 16, 2011 at 11:26 AM, Thomas th.vanderv...@gmail.com wrote:
Hi everyone,
I have been struggling with this, hopefully, simple problem now for
quite sometime, What I want to do is:
*) read a file line by line
*) modify each line
*) write it back to a different file
This is a
Hi,
Am 16.08.2011 um 17:26 schrieb Thomas:
I have been struggling with this, hopefully, simple problem now for
quite sometime, What I want to do is:
*) read a file line by line
*) modify each line
*) write it back to a different file
This is a bit of sample code that reproduces the
2011/8/16 Thomas th.vanderv...@gmail.com:
Hi everyone,
I have been struggling with this, hopefully, simple problem now for
quite sometime, What I want to do is:
*) read a file line by line
*) modify each line
*) write it back to a different file
This is a bit of sample code that
You can put the line break back into each line ( added stuff\n) and
then do:
(spit output.txt (reduce str (map change-line old-data)))
On Aug 16, 8:26 am, Thomas th.vanderv...@gmail.com wrote:
Hi everyone,
I have been struggling with this, hopefully, simple problem now for
quite sometime,