方法1:双斜杠代替单斜杠 drawdendrogram(tree, imlist, jpeg='C:\Users\99386\Desktop\result.jpg') 方法2:前边加个字母r drawdendrogram(tree, imlist, jpeg=r'C:\Users\99386\Desktop\result.jpg')
转载请注明出处:
未经允许不得转载:lxfamn » yntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: truncated \UXXXXXXXX escape