python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Catching "Cancel" in Tkinter
I have a script that opens a prompt window for a user to select a directory before performing some other tasks. If the user selects "Cancel", I want the program to display an appropriate mes...
Gurdish
Votes: 0
Answers: 1
How do I turn a file's contents into a dictionary?
I have a function that I want to open .dat files with, to extract data from them, but the problem is I don't know how to turn that data back into a dictionary to store in a variable. Currently, the da...
danielshmaniel
Votes: 0
Answers: 1
The (initialdir) in tkinter's filedialog isn't working with a variable
I'm doing a simple program that moves files, and I'm having it pull the file paths from a text document so it doesn't have to be inputed every time.
Here's the function for one of the buttons:
def Xbo...
andrr
Votes: 0
Answers: 1