Code: Alles auswählen
self.photoImg = ...
...(..., image=self.photoImg)
yipyip
Code: Alles auswählen
self.photoImg = ...
...(..., image=self.photoImg)
Code: Alles auswählen
self.text.config(state=Tkinter.NORMAL)
self.text.insert("end", char)
self.text.config(state=Tkinter.DISABLED)
Code: Alles auswählen
In [47]: ls = [(1, 2), (3, 4)]
In [48]: map(list, ls)
Out[48]: [[1, 2], [3, 4]]
Code: Alles auswählen
import ttk
Code: Alles auswählen
from tkinter import ttk
Code: Alles auswählen
>>> import tkinter as tk
>>> root = tk.Tk()
>>> root.resizable(0, 0)
''
>>> root.resizable()
'0 0'
>>>
Code: Alles auswählen
>>> import tkinter as tk
>>> root = tk.Tk()
>>> eingabe1 = tk.Entry(root, width=5)
>>> eingabe1.grid(row=0, column=0, padx=5, pady=5)
>>>