for lineItem in range(len(ThisList)):
SpecLine, Spec = GetLineByItem(ThisList[y])
OldSpec = Spec
NewSpec = " "
SVRlabel = ttk.Label(window, text = SpecLine + " "*5)
SVRlabel.grid(column = 1, row = x)
NewSpec = tk.StringVar()
New_Specs.append(NewSpec)
SVRCodeEntered = ttk.Entry(window, width = 15, textvariable =
NewSpec)
SVRCodeEntered.grid(column = 2, row = x, pady = 15)
SVRCodeEntered.insert(0, OldSpec)
x += 1
y += 1
Steve
============================================================
Footnote:
Some mornings it just isn't worth chewing through the leather straps.
-
--
https://mail.python.org/mailman/listinfo/python-list