From: James Gray Date: 2008-09-21T06:50:53+09:00 Subject: Re: update a field in CSV file using fastercsv On Sep 20, 2008, at 4:19 PM, Li Chen wrote: > James Gray wrote: >> On Sep 19, 2008, at 10:41 PM, Li Chen wrote: >> >>> Is it posssible to update a field of CSV file using Fastercsv? For >>> example: >>> change a row [1,2,3,4] to [10,2,3,4]. >> >> Sure. You would do this as you would change any file. Here are the >> steps: >> >> 1. Open the existing data for reading >> 2. Open a different file for writing >> 3. Copy over the content making changes as needed >> 4. Rename the new file to replace the old file >> >> Hope that helps. >> >> James Edward Gray II > > Hi James, > > Thank you very much. > > One more question: Is this the same idea behind what we do with 'save' > or 'save as' in microsofte WORD or EXCEL? I'm not sure I completely understand this question. It is similar to how most programs save data though, minus some complications. James Edward Gray II