Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
 
PREVIOUS NEXT
Tagged: #select #file #python
ADD COMMENT
Topic
Name
8+5 =