Tcl open file append


















Collectives on Stack Overflow. Learn more. Asked 10 years, 9 months ago. Active 6 years, 9 months ago. Viewed 36k times. What do you mean by "different content"? Add a comment. Active Oldest Votes. Did you mean something like that? But i have one more problem. If i want to write in a file so how can i substitute the data1,data You have to do e. This is the default mode used when no accessMode is specified. Opens a text file for writing, if it does not exist, then a new file is created else existing file is truncated.

Opens a text file for writing in appending mode and file must exist. Here, your program will start appending content in the existing file content. Opens a text file for reading and writing both. It first truncate the file to zero length if it exists otherwise create the file if it does not exist. Could you please include your attempt in the question? StackOverflow is not a code writing service. Add a comment. Active Oldest Votes. Peter Lewerin Peter Lewerin Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.



0コメント

  • 1000 / 1000