python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How do I write a File in python, with a variable as a path?
I am trying to open a file, which I save before, in the program. Then I want to write some text, into the file. But it gives me the following Error, I have already looked for solutions in google and a...
baumanager
Votes: 0
Answers: 1
How to upload file in python Tkinter to current directory?
I am making a GUI in python with Tkinter. I can browse a file, print the path for it, but how is it possible to save the browsed file into a specific folder (for example the current folder /home/pi/De...
Gábor Szalma
Votes: 0
Answers: 0
Unable to save file path using tkinter filedialog askopenfilename, triggred through a button
I need to save the file path returned by askopenfilename within tkinter filedialog for later use I trigger the function openFile via a button which I define and I expect this function to store the re...
![test-img](https://lh5.googleusercontent.com/-XU7ggLAizSo/AAAAAAAAAAI/AAAAAAAAAJU/Ypub74vQ42g/photo.jpg?sz=256)
Pawan Nirpal
Votes: 0
Answers: 2
Is there a way to disable the top directory menu in the FileDialog in tkinter?
I have file dialog, where I click "open" it will open the filedialog. However, I need to restrict user to only select the files in current folder. How do I disable the top folder navigatio...
Amy
Votes: 0
Answers: 0