I’m currently working on a Python project in Thonny and need to implement CSV as a ‘database requirement’
When the program is run, the user makes three inputs. These inputs are appended to their individual list, e.g input 1 appended to list 1 and so on.
Essentially, I want to save these three inputs in one CSV row
When the program is run again, I want the list to be retrieved- then inputs again, and append.
Basically this is a way of saving the inputs, however i need to retrieve them when the code is run again because that data is manipulated later on.
I haven’t dealt much with CSV, and I’m not sure whether i need two separate function to read and write, and where to position them in the code sequence so that i get the desired result.
I'm not sure, is this going to work?