Python: Traceback codecs.charmap_decode(input,self.errors,decoding_table)[0]
问题 Following is sample code, aim is just to merges text files from give folder and it's sub folder. i am getting Traceback occasionally so not sure where to look. also need some help to enhance the code to prevent blank line being merge & to display no lines in merged/master file. Probably it's good idea to before merging file, some cleanup should performed or just to ignores blank line during merging process. Text file in folder is not more then 1000 lines but aggregate master file could cross