+ 1
HELP PLEASE, Syntax Error
I keep getting this syntax error, what does it mean and how do I fix it? SyntaxError: (Unicode error) âunicodeescapeâ codec canât decode bytes in position 2-3: truncated \UXXXXXXXX excape Code filename = PhotoImage(file = âimage pathâ) Code is for Tkinter image and obviously image path is not apart of it.
1 Answer
+ 2
Repaired Code:
filename = PhotoImage(file="path to image.png")