Oct-10-2023, 02:42 PM
Basically i want to build an app where the user can add entries and labels to the window
i have the following code
i have the following code
global cur_row,count cur_row+=1 globals()[f'lbl{count}']=Label() globals()[f"lbl{count}"].grid(row=cur_row,column=0) globals()[f"ent{count}"]=Entry() globals()[f"ent{count}"].grid(row=cur_row,column=1) count+=1the problem is the labels are not generated. All i get is the entry. I want a way to generate labels as well as entries. after that i need a way to retrieve all of the entry inputs and save them to a dictionary or csv file