[Python] (unicode error) 'unicodeescape' codec can't decode bytes in position 58-59: truncated


[Python] (unicode error) 'unicodeescape' codec can't decode bytes in position 58-59: truncated

경로는 맞게 썼는데 오류가 뜬다. 경로 입력중 \가 유니코드로 인식되기 때문에 오류가 떴다. 기존 경로에서 \를 \\로 다음과 같이 수정하면 오류가 없어진다. C:\\Users\\User\\Desktop\\py\\chrome 아니면 경로 따옴표 앞에 r을 추가해도 된다. r'C:/Users/User/Desktop/py/chrome'...

[Python] (unicode error) 'unicodeescape' codec can't decode bytes in position 58-59: truncated에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


#python #파이썬

원문링크 : [Python] (unicode error) 'unicodeescape' codec can't decode bytes in position 58-59: truncated