I am trying to concat multiple csv files into 1 file using python3. How can i do this. All the csv files in the same folder. When i used glob it gives me an error.
import glob
import csv
newfile = glob.glob('C:\Users\perera\Desktop\Machine Learning\RYU\data\dataset_1\*.csv')
and the error is
(unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
what is the problem here