In python we face syntaxerror: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \uxxxxxxxx escape error.
7 Let's understand how to fix this error in the 7 slides.
Learn more
6 Whenever we use \u then we face this error.
Learn more
5 Don’t use \u (backslash small u)
Learn more
4 Don’t use \U (backslash with Capital U)
Learn more
3 Don’t use (data = open("C:\Users\AmolBlog))
Learn more
2 Use small r data = open(r"C:\Users\AmolBlog)
Learn more
1 Use \n for new line.
Learn more