Python Forum
[Tkinter] File Chooser will not close
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] File Chooser will not close
#6
This program contains an error
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() function

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?
Reply


Messages In This Thread
File Chooser will not close - by noob82 - Aug-04-2023, 03:32 AM
RE: File Chooser will not close - by Gribouillis - Aug-04-2023, 05:29 AM
RE: File Chooser will not close - by noob82 - Aug-04-2023, 12:30 PM
RE: File Chooser will not close - by deanhystad - Aug-04-2023, 11:40 AM
RE: File Chooser will not close - by noob82 - Aug-04-2023, 12:28 PM
RE: File Chooser will not close - by deanhystad - Aug-04-2023, 07:11 PM
RE: File Chooser will not close - by noob82 - Aug-07-2023, 11:34 AM
RE: File Chooser will not close - by deanhystad - Aug-07-2023, 02:25 PM
RE: File Chooser will not close - by noob82 - Aug-09-2023, 02:08 PM
RE: File Chooser will not close - by noob82 - Aug-14-2023, 03:06 PM
RE: File Chooser will not close - by deanhystad - Aug-09-2023, 04:31 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020