SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3 (Sovled)

preview_player
Показать описание
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (solved)

This error occurs because you are using a normal string as a path. You can use one of the three following solutions to fix your problem:

1: Just put r before your normal string it converts normal string to raw string:

Thank you Techie to give the solution.
Рекомендации по теме