让py库tkinter中的canvas元素透明的方法 将元素option中的fill和outline置空就好了 fill="", outline="" 举例: create_rectangle(0, 0, 100, 100, fill='', outline='')