![]() | No variable is tied to the entry:
r_entry = Entry(rframe, width=6, relief='sunken') r_entry.insert('end','1.2') # insert default value r = float(r_entry.get()) s = math.sin(r) s_label.configure(text=str(s)) |
![]() | Other properties can be configured:
s_label.configure(background='yellow') |