Oct-20-2022, 06:01 PM
Thanks for that. I tried the last snippet of code and the print statement code gives me the headers without any leading\trailing spaces.
How would I adapt the above code to remove the leading\trailing spaces in the csv file and overwrite the file with the leading\trailing spaces removed in the header?
How would I adapt the above code to remove the leading\trailing spaces in the csv file and overwrite the file with the leading\trailing spaces removed in the header?