import os from tkinter import Button, Entry, Label, StringVar, PhotoImage, Tk, Canvas def main(args): root = Tk() root.title("Munyal") root.geometry("320x500") logo = PhotoImage(file="img/logo.png") host = StringVar() host_field = Entry(root, textvariable=host, width=30) passwd = StringVar() passwd_field = Entry(root, textvariable=passwd, show="*", width=30) folder = StringVar() folder.set(os.path.join(os.getenv("HOME"), "Munyal")) folder_field = Entry(root, textvariable=folder, width=30) connect = Button(root, text="Conectar", command=lambda: None, width=10) Label(root, image=logo).pack() Label(root, text="MUNYAL", font=("", 30)).pack() Label(root, text="").pack() Label(root, text="Nombre del servidor").pack() host_field.pack() Label(root, text="").pack() Label(root, text="ContraseƱa").pack() passwd_field.pack() Label(root, text="").pack() Label(root, text="Carpeta a sincronizar").pack() folder_field.pack() Label(root, text="").pack() connect.pack() root.mainloop() if __name__ == '__main__': import sys sys.exit(main(sys.argv))