“tkfiledialog python 3” Código de respuesta

tkfiledialog python 3

from  tkinter import *
root = Tk()
root.filename =  filedialog.askopenfilename(initialdir = "E:/Images",title = "choose your file",filetypes = (("jpeg files","*.jpg"),("all files","*.*")))
print (root.filename)
root.withdraw()
Gifted Goldfinch

askopenfilename

filename2 =  filedialog.askopenfilename(title = "Select file",filetypes = (("Excel files", ".xlsx .xls"),))
Fair Frog

Respuestas similares a “tkfiledialog python 3”

Preguntas similares a “tkfiledialog python 3”

Más respuestas relacionadas con “tkfiledialog python 3” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código