I was making a python file with PyTiktokAPI and when I used the downloadVideoByIdNoWatermark I upon with this error because of this line of code
ID = Write.Input("Put Tiktok video ID here. (ex: titkok.com/@user/video/1234567890123456789)", Colors.blue) downloadVideoByIdNoWatermark(self, ID, ' C:\Users\ezeo\Downloads')
and the error is
File "c:\Users\ezeo\Downloads\uwu\main.py", line 19 downloadVideoByIdNoWatermark(self, ID, ' C:\Users\ezeo\Downloads') ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 3-4: truncated \UXXXXXXXX escape
im still a novice to python but this error is annoying me and if you can please tell me a solution! thanks
Asked
Active
Viewed 25 times
0
ex.
- 1
-
See https://stackoverflow.com/questions/2953834/windows-path-in-python – Luke Woodward Apr 24 '22 at 15:59