I'm creating a code that creates CSVs then puts it in a folder. I want a user to be able to modify the csv file by adding in another column and inserting values in the columns then saves it back into the folder. I hope this makes sense. Here is a part of my code.
This is how I wrote the directory of the path = r"C:\Users\Documents\workersInfo*.csv"
driver.writerow(["cities", "name", "milesDriven"])
driver.writerow(["Greensborrow", "Peter", "6"])
driver.writerow(["Winsdow", "Tony", "7"])
driver.writerow(["Marlboro", "Esther", "8"])