初始化tkinter.Spinbox后不能调用delete函数?

def shezhi(sysTrayIcon): 
        window = tkinter.Tk()
        window.title("设置")
        window.geometry("300x150")
        window.resizable(width=False, height=False)

        ll=tkinter.Label(window, width=20,text="壁纸占屏幕大小").place(x=50, y=50, anchor='sw')
        sbx=tkinter.Spinbox(window, from_=0, to=1, increment=0.1,state="readonly",width=5).place(x=200, y=50, anchor='sw')
        sbx.delete(0)
        global secs
        sbx.insert(END,secs)
        bn=tkinter.Button(window,text="确定",width=10,command=lambda:shezhipzwj(sbx.get())).place(x=100, y=100, anchor='sw')

        window.mainloop()

delete那里显示
图片说明

有没有大佬知道该怎么办吗

https://blog.csdn.net/jcodeer/article/details/1811316?readlog