Read and Write CSV files in C++
C++ has a ton of ways to do anything, editing files is a great tool for any assignment.
Here is one way to read in CSV data with the standard library
CSV editing in Python
For reading and writing a CSV file in Python, it is best to take advantage of the csv reader and writer classes that's built in.