python讀取文件報錯:SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
看到一篇文章說是因爲路徑中有/u,但是作者通過//u已經解決,也可以直接在路徑前加 r
python讀取文件報錯:SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
看到一篇文章說是因爲路徑中有/u,但是作者通過//u已經解決,也可以直接在路徑前加 r
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta