Ah, true. (I don't use numpy arrays much and will tend to miss things). It's possible to create arrays that hold objects, but it's harder. A dictionary could work, but you don't get the nice indexing. Just as an attempt though, maybe something like:
# store the widget in a dict, with a tuple key for indexing xxx = {} # whatever loop you had over a, b, and c... xxx[(a,b,c)] = Entry(root, bg="white",fg="black", width=7,relief=SUNKEN).grid(row=p_row,column=p_col+1) # retrieve the widgets: for a in range(8): for b in range(4): for c in range(5): data = xxx[(a,b,c)].get() print(f"Widget {a},{b},{c} has data {data}")Otherwise if you want the array to hold a python object, try initializing it with
dtype=object
.