Writing generic spreadsheets – csv_writer.py

The csv_writer.py script is fairly straightforward compared with the previous two scripts we've written. This script is responsible for the CSV output of our UserAssist data. The csv_writer.py script has two functions: csv_writer() and the helper function, file_time(). We explained the file_time() function in the xlsx_writer section, and it will not be repeated here as it has the same implementation.