To illustrate: x = tk.Label(root, text="ok").pack() type(x) <class 'NoneType'> x = tk.Label(root, text="ok") type(x) <class 'tkinter.Label'>.
確定! 回上一頁