Re: reading file
- From: thinktank <dibyadeep@xxxxxxxxx>
- Date: 26 May 2007 07:00:26 -0700
well what I meant was that I wanted to read a file from the harddisk
and append it to another file, not append something that is already in
memory. if you have any suggestions do reply
On May 26, 6:46 pm, zyf <zhangyunf...@xxxxxxxxx> wrote:
On 5 26 , 9 24 , thinktank <dibyad...@xxxxxxxxx> wrote:
I want to read a file and dump it into another file. I dont need to
read them in any specific way, for my purpose is solely to append it
to another file. Is it possible to do it, without using any loops or
array declarations?.
The file essentiallly contains a series of lines containing various
characters.
just open the file to be append as "append" and write content to it.
open("filename_to_append", position="append")
If you don't limit the realization to Fortarn, the command "copy" is
another choice.
.
- Follow-Ups:
- Re: reading file
- From: David Frank
- Re: reading file
- References:
- reading file
- From: thinktank
- Re: reading file
- From: zyf
- reading file
- Prev by Date: Re: reading file
- Next by Date: Re: unknown problem
- Previous by thread: Re: reading file
- Next by thread: Re: reading file
- Index(es):
Relevant Pages
|
|