I'm receiving a CSV file via an upload that I would like to parse, but I get Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?
when I try to open it via this line of code:
reader = csv.reader(args['file'], quotechar='|', dialect=csv.excel)
Do I need to save the file temporarily, then open it in universal-newline mode to achieve this? Or is there a way to do so without having to use a temp file?