Aug-04-2023, 07:11 PM
(This post was last modified: Aug-04-2023, 07:11 PM by deanhystad.)
This program contains an error
I don't use spyder, so I don't know if it works well with tkinter. I do know IDLE does not play well with tkinter. Mostly works, but not really.
Try running your program from the command line to see what happens.
What Python are you using? What version of Spyder?
import tkinter as tk from tkinter import filedialog path = filedialog.askopen()
Error:AttributeError: module 'tkinter.filedialog' has no attribute 'askopen'
There is not a filedialog.askopen() functionI don't use spyder, so I don't know if it works well with tkinter. I do know IDLE does not play well with tkinter. Mostly works, but not really.
Try running your program from the command line to see what happens.
What Python are you using? What version of Spyder?