I have CSV file with data like this =
'01,02,VM001,02,21,0ffadb'
'01,02,VM001,02,21,0aadbcd'
'01,02,VM001,02,21,012adbc'
I want make into string like this :
"['01,02,VM001,02,21,0aadbcd'], ['01,02,VM001,02,21,0aadbcd'],['01,02,VM001,02,21,012adbc']"
My code like this:
datalist = " ".join(map(str,data)).replace ("'","")
data is list that get from read CSv file. But I get like this :
"[01,02,VM001,02,21,0aadbcd],
[01,02,VM001,02,21,0aadbcd],
[01,02,VM001,02,21,012adbc]"
Thanks for your help