Advertisement
VinnieBlue

Tkinter

Mar 22nd, 2022
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from tkinter import filedialog
  2. from tkinter import Tk
  3.  
  4. def open_folder():
  5. root = Tk()
  6. root.withdraw()
  7. CURRENT_FOLDER = filedialog.askdirectory()
  8. display_file_list(get_file_list(CURRENT_FOLDER))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement