\Python39\lib\tkinter\__init__.py", line 2903, in itemconfigure File "C:\Users\user\AppData\Local\Programs\Python\Python39_options(cnf))
_tkinter.TclError: invalid boole
我有Python代码来生成屏幕的平均颜色,作为RGB值和(十六进制代码)。代码通过一个while True循环重复自己,我想把改变窗口颜色的指令放在这个循环的末尾。我现在有这样的代码:from colour import Color
root.configure(background="greySCRIPT ]
hexcolour = Color