Re: reading file



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.


.



Relevant Pages

  • Re: reading file
    ... and append it to another file, not append something that is already in ... If you don't limit the realization to Fortarn, the command "copy" is ...
    (comp.lang.fortran)
  • Re: creating Access table from directory with files
    ... Open a Windows command prompt. ... unique index that includes the three fields. ... Create an Append query that appends data from the linked table to ... The first time you run the query, it will import all the records from ...
    (microsoft.public.access.externaldata)
  • Re: [Info-ingres] Need help Appending an extra footer line after using COPY .. INTO output_file,
    ... command, as that's the only thing after the 'cat' command line. ... David G. Brooks ... (shell scripting, declarations, etc.) ... Have both queries write to seperate files then append them at the OS ...
    (comp.databases.ingres)
  • Re: [patch 1/5] Extended crashkernel command line
    ... is that if you have a bootloader like lilo or elilo which allows you to append ... a command line parameter but not to remove one, ... AFAIK it is the other way round: the lilo configuration-parameter ... parameters given by the user on the kernel command line. ...
    (Linux-Kernel)
  • Error Message box
    ... 'Upload AuditUpload spreasheet from Excel spreadsheet ... Dim stDocName As String ... 'Append AuditUpload to main audit inventory file ... My question is if a user press the command button and decide to not append ...
    (microsoft.public.access.formscoding)