Facebook
From crisyelit, 3 Years ago, written in Plain Text.
This paste is a reply to error al git from crisyelit - view diff
Embed
Download Paste or View Raw
Hits: 333
  1. #!/usr/bin/python3
  2. from tkinter import *
  3. from tkinter import filedialog
  4. #frame raiz de nuestra ventana
  5.  
  6. root=Tk()
  7. #root.pack()
  8. #root.iconbitmap("einstein.ico")
  9.  
  10. def abreFichero():
  11.         fichero=filedialog.askopenfilename(title="Abrir",initialdir="/", filetypes=((("Ficheros Calc","*.ods"),("Ficheros de presentacion","*.odt"),("Todos los archivos","*.*")))
  12.  
  13.                 #print(fichero)
  14.  
  15. botonAbrir= Button(root,text="Abrir fichero", command=abreFichero).pack()
  16. botonAbrir.grid(row=1, column=0, sticky="e", padx=10, pady=10)
  17.  
  18.  
  19. root.mainloop()

Replies to error pyhon rss

Title Name Language When
Re: error pyhon crisyelit text 3 Years ago.