Kiran 2 Posted July 29, 2011 Report Share Posted July 29, 2011 Hi I'm having some problems with saving new data to a pre-existing .csv file. When I run "Save to file" node in my bot then there will create a new csv file. That is the actual process that I know. Please advice if you have any idea or another method for keep existing data or record in csv file. Is it possible? Thanks & Regards Quote Link to post Share on other sites
Choller 3 Posted July 29, 2011 Report Share Posted July 29, 2011 I have my own "append data" sub. It's not that hard. Basically just reread the csv into a list. and then add the latest data to list, and save again. Doesn't go well with very large data but should be enough for most tasks. I am not at home so I'm not able to send a screenshot right now. Quote Link to post Share on other sites
Kiran 2 Posted August 1, 2011 Author Report Share Posted August 1, 2011 Hi, Thanks for your reply,I had try as per your comments. It is working.But I have another problem . In first time an error occurred.Ie the file does not exist at first time ,So that cannot read that file.How we can check the file exist or not in ubot? Thanks Once again. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.