Jump to content
UBot Underground

Is it possible to keep the existing record in a csv file?


Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...