Code: Alles auswählen
textfenster.insert(BSchritta, "\nfButtons = Frame( %s , border=1 )"% BSchritt1)
Probier mal:
Code: Alles auswählen
textfenster.insert(2.0, "\nfButtons = Frame( %s , border=1 )"% BSchritt1)
Code: Alles auswählen
textfenster.insert(BSchritta, "\nfButtons = Frame( %s , border=1 )"% BSchritt1)
Code: Alles auswählen
textfenster.insert(2.0, "\nfButtons = Frame( %s , border=1 )"% BSchritt1)
Code: Alles auswählen
BSchritt7 = eBSchritt7.get()
textfenster.insert(BSchritt7, "\nfButtons = Frame( %s , border=1 )\n%s = Button(fButtons, text='%s',width=8, height=1, command=%s)\n%s.pack(padx=%s, pady=%s)\nfButtons.pack(expand='true')\n"% (BSchritt1,BSchritt2,BSchritt3,BSchritt4,BSchritt2,BSchritt5,BSchritt6) )