想用tkinter显示图像, 这是代码
from tkinter import *
class Photoshow:
window = Tk()
window.title("photo_show")
image1 = PhotoImage(file = "C:\Users\86188\Pictures\Saved Pictures\QQ图片20220727165713.gif")
frame = Frame(window)
frame.pack()
Label(frame, image = image1).pack(side = LEFT)
报错
File "C:\Users\86188\PycharmProjects\pythonProject\practice.py", line 220
image1 = PhotoImage(file = "C:\Users\86188\Pictures\Saved Pictures\QQ图片20220727165713.gif")
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape