Re: Text files read multiple files into single file, and then recreate the multiple files

2005-02-13 Thread M.E.Farmer
[EMAIL PROTECTED] wrote: > Hiya, > > The title says it all really, but im a newbie to python sort of. I can > read in files and write files no probs. > > But what I want to do is read in a couple of files and output them to > one single file, but then be able to take this one single file and > recr

Re: Text files read multiple files into single file, and then recreate the multiple files

2005-02-12 Thread Mike Meyer
[EMAIL PROTECTED] writes: > Would like to use text files, its really for my own learning, > > but I suppose a Zip would work How about outputing a file as: LENGTH=## in your joined file? That's a minimalistic archive format - one ASCII header line that provides just enough information to

Re: Text files read multiple files into single file, and then recreate the multiple files

2005-02-12 Thread googlinggoogler
Would like to use text files, its really for my own learning, but I suppose a Zip would work cheers -- http://mail.python.org/mailman/listinfo/python-list

Re: Text files read multiple files into single file, and then recreate the multiple files

2005-02-12 Thread Irmen de Jong
[EMAIL PROTECTED] wrote: Hiya, The title says it all really, but im a newbie to python sort of. I can read in files and write files no probs. But what I want to do is read in a couple of files and output them to one single file, but then be able to take this one single file and recreate the files I

Text files read multiple files into single file, and then recreate the multiple files

2005-02-12 Thread googlinggoogler
Hiya, The title says it all really, but im a newbie to python sort of. I can read in files and write files no probs. But what I want to do is read in a couple of files and output them to one single file, but then be able to take this one single file and recreate the files I put into it. Im reall