I want to have a dropdown window like this one
and I found a way you can do is on a Linux here using `wm_type()` but it does not work on Macintosh. How would I make a similar window on a mac? I assume I would need to use a top-level?...
User Profile
Collapse
Profile Sidebar
Collapse
Jonah
Last Activity: Nov 19 '15, 09:29 PM
Joined: Sep 13 '15
Location:
-
Tkinter toplevel dropdown window?
-
How to save a dictionary over multiple uses
I am creating a login script and I store the usernames and passwords in a dictionary. The problem is though, when I open it a second time it doesn't store the users that have already been registered. I know this is normal but is there a way to get round that? Perhaps using a file?
Note: I asked this on Stackoverflow and got no answer so i am re asking. That is why I am trying to use Pickle.
Here is my code:
... -
How to update Tkinter labels using a button.
Hi I am trying to create a simple program that writes a few lines to a file then displays those lines in labels below. The labels don't update though when I update the file and I have triedbut it doesn't work. Here is my code:Code:update_idletasks
...Code:from Tkinter import * import sys f=open("stats") line1=f.readline() line2=f.readline() line3=f.readline() line4=f.readline()
No activity results to display
Show More