I have an optionmenu working ok looking from a list in the code but what if the list is to be maintained externally in an excel file. How would I go about looking up an excel file, say called....vehicles.xlsx and the list would be in column A? Would I use pandas or there is ther an existing option within python The working code is below but obviously I want to get rid of the list and replace it with an excel lookup.
Sorry in advance if there is a tutorial somewhere but I can't seem to find it and I'm pretty new to python.
Thanks
self.cars=["car1","car2"] self.installin = tk.OptionMenu(self,self.var,*self.cars).grid(row=4,column=2,sticky=tk.W, padx=8, pady=8)