genebadd 0 Posted February 21, 2010 Report Share Posted February 21, 2010 Hi Everyone, I am still poking around with Ubot and making some good progress... I have a question about creating lists and writing to a file. I am working on an account creation bot that creates a single account from a list of websites. Each site has its own sub. The idea is that I run the first sub, it creates an account and writes the username and pw to a list and then I save the list to file. I then run the next sub and it does the exact same thing; it writes the username and pw to a list and ideally it would append this data to the same file created in sub 1. Of course this is not working for me, sub 2 writes over the data from sub 1 when I save to file. Any words of wisdom as to how one would go about taking data from multiple subs and writing it to the same file? Thanks,Gene Quote Link to post Share on other sites
alcr 135 Posted February 21, 2010 Report Share Posted February 21, 2010 Add them all to a list and then save in the end. Quote Link to post Share on other sites
genebadd 0 Posted February 22, 2010 Author Report Share Posted February 22, 2010 Ahhh of course!!!! Da...Thanks Quote Link to post Share on other sites
bluegoat 24 Posted February 23, 2010 Report Share Posted February 23, 2010 If you want to append data to a previous file see the example here:http://ubotstudio.com/forum/index.php?/topic/2387-adding-to-a-csv-without-overwriting/page__view__findpost__p__6240 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.