Answers for "python code to select a file"

1

how to select a file in python

Simple way to get a directory of a file and open it:
  
from tkinter.filedialog import askopenfilename

filename = askopenfilename()
Posted by: Guest on March-09-2021

Code answers related to "python code to select a file"

Python Answers by Framework

Browse Popular Code Answers by Language