How to convert list into a string?
- by PARIJAT
I have extracted some data from the file and want to write it in the file 2 but the program says 'sequence item 1: expected string, list found', I want to know how I can convert buffer[] i.e. string into sequence, so that it could be saved in file 2.
file = open('/ddfs/user/data/k/ktrip_01/hmm.txt','r')
file2 =…