+ 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 Odpowiedź
+ 2
Repaired Code:
filename = PhotoImage(file="path to image.png")