Python_报错:SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: tru
一:更换为绝对路径的写法
func1(“C:\Users\renyc”)
二:显式声明字符串不用转义(加r)
func1(r"C:\Users\renyc")
三:使用Linux的路径/
func1(“C:/Users/renyc”)
Python_报错:SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: tru
一:更换为绝对路径的写法
func1(“C:\Users\renyc”)
二:显式声明字符串不用转义(加r)
func1(r"C:\Users\renyc")
三:使用Linux的路径/
func1(“C:/Users/renyc”)