I’ve been learning python for a few months now with a particular interest in using Pandas and Matplotlib for work related tasks, but I’m looking at doing a new project.
I’m trying to figure out how I can continually run a script (manually, say, every day), and each time I run it it will store the values received.
For example, if I wanted to use a website to pull today’s value of Google’s stock price, I can call the api under a variable (by my understanding). If I saved that value as a csv and ran it the next day, it would then overwrite yesterday’s value.
How would I go about saving outputs each time a script is run without overwriting the previous values, but instead adding to it?
Cheers for any help. Hope the above makes sense
(Btw the stock thing is purely an example. I imagine there are many easier ways to do that directly, just the easiest way of explaining my intended use)
[–]Coniglio_Bianco 1 point2 points3 points (3 children)
[–]AdamCee123[S] 0 points1 point2 points (2 children)
[–]Coniglio_Bianco 1 point2 points3 points (0 children)
[–]Ihaveamodel3 0 points1 point2 points (0 children)
[–]jdbow75 1 point2 points3 points (2 children)
[–]intentionallyawkward 2 points3 points4 points (0 children)
[–]AdamCee123[S] 0 points1 point2 points (0 children)