from Tkinter import *
from tkFileDialog import askopenfilename
root = Tk()
root.geometry("500x500")
root.title("Mostrar ruta fichero")
et1 = Label(root, text = "Pulsa en el boton y elige una ruta").place(x=150,y=70)
def llamada():
nombre = StringVar()
nombre.set(askopenfilename())
Entry(root, width = 40, textvariable=nombre).place(x=100, y=100)
Entry(root,width = 40).place(x=100, y=100)
Button(root, text ="...", command = llamada).place(x=370,y=100)
root.mainloop()
Ingenieria en Sistemas Computacionales. Instituto Tecnológico De Matamoros.
Practica Usando GUI | Mostrar Ruta de un Archivo
-
import pygame from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * verticies = ( (1, -1, -1), (1, 1, -1)...
-
import os import random import threading from Tkinter import * from PIL import Image, ImageTk import time import pygame ""...