刚学python遇到的小坑-SyntaxError: (unicode error) 'unicodeescape' codec can't decode
涉及到文件路径的时候,在window系统:'...Desktop\text_file\pi_digits.txt',类似这样的路径会报错SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape这样我是因为window \...