Python

 

 

 

 

Python -File Open Dialogbox

 

Example 01 > ========================================================

 

import tkinter as tk

from tkinter import filedialog

 

root = tk.Tk()

root.withdraw()

file_path = filedialog.askopenfilename()

 

print(file_path)

 

 

Result :----------------------------------------------------------------------------

 

 

C:/tmp/file_01.py