Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
askdirectory
#1
Hi all,

i want to let the user select a path. i used the following

from tkinter.filedialog import askdirectory
path = askdirectory()
it works, BUT, a small window from the tk module opens as well, and it doesnt desappear when the user selected the path.

i tried to upload a screenshot, but doesnt seem to work.
but i hope you understand what i mean.

is there a way not to let that small window open?

İmage
Reply


Forum Jump:

User Panel Messages

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