I am using XlsxWriter to create an Excel file using a Python script.
When I re-run the script to update the file with new information, which I need to do often, I have to manually close the Excel file and reopen it to look at the new version of the spreadsheet.
Is there a way to automate this process: Close the excel file (not the application) using a terminal command and then re-open it.
I know how to open it, but don't know how to close a file.