I'm trying to insert backslash , which is going to be used as a path variable but when I do this:
i='02222022130300393.png'
path=r'C:\Users\kavin.r\Desktop\test\Level_Typical_Images\'+i
I'm getting:
SyntaxError: EOL while scanning string literal
When I tried like this:
i='02222022130300393.png'
path=r'C:\Users\kavin.r\Desktop\test\Level_Typical_Images\\'+i
I got
FileNotFoundError:No such file or directory: 'C:\\Users\\kavin.r\\Desktop\\test\\Level_Typical_Images\\\\02222022130300393.png'