Skip to content
Advertisement

Tag: tkinter

How run an mp4 in Tkinter?

I have been trying to run an mp4 in Tkinter and have been getting an error message about a couple line errors in –main–.py, and runpy.py. I’m a newbie and this is confusing me because I’ve been spending hours trying to fix this. I am also having a problem in the file path for my video, so help on that

Python-Tkinter: How do I update a whole segment?

I have a segment in my GUI that creates a varying number of labels using a for-loop. Furthermore, I have a button that’s supposed to delete all of these labels and recall the for loop with new information. However, I can’t figure out how to make my button do that. Specifically do both of these actions together. I have tried

Adding a header line to a scrollable canvas with weights

I’m trying get a list of .xlsm files from a folder, and generate a scrollable canvas from which the tabs needed for import can be selected manually using the check buttons (all having the same tab format e.g. tab1, tab2, tab3, tab4). The major issue I’m having is getting weights to work correctly for the headers in relation to their

Tkinter Treeview scrollbar under the column labels

I am trying to insert a vertical scrollbar in a treeview such that it is displayed under the columns labels of the treeview and not besides/next to the labels. I’ve tried adding pady in the scrollbar widget yet that still does not place it under the columns labels (just creates an offset from the top). Any help is greatly appreciated

Advertisement