File Browser V1 (Python)

Currently looking through some of my older projects and seeing if any of my recent Python learning could be used to make them better. Possibly make the PDF merge idea better with some GUI driven fun rather than command line, and building on my previous GUI attempt. To do this I decided I would need a file explorer/file browser window.

# geektechstuff

# libraries to import
from tkinter import *
from tkinter import filedialog

# creates Tk window
root = Tk()

# hides the Tk window

# updates Tk window; without this the open file browser stays open
file_to_open = filedialog.askopenfilename()

# currently used to display the file path/name to the selected file (making sure the file is selecting)

#closes Tk window


One thought on “File Browser V1 (Python)

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.