Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import string
- import os
- import codecs
- import requests
- import sys
- import datetime
- from tkinter import *
- from tkinter.ttk import *
- def avvia():
- print(text_user.get)
- return
- ro = Tk()
- ro.title('Nuovo progetto')
- label_name = Label(ro, text="Nome progetto")
- text_name = Entry(ro, text="Nome progetto")
- label_user = Label(ro, text="Username", justify=RIGHT)
- text_user = Entry(ro, text="Username")
- label_password = Label(ro, text="Password", justify=RIGHT)
- text_password = Entry(ro, text="Password", show="*")
- label_type = Label(ro, text="Tipo di prova", justify=RIGHT)
- combo_type = Combobox(ro, values=["DNV", "NACE"])
- label_colate = Label(ro, text="Colate (sep. da ,)", justify=RIGHT)
- text_colate = Entry(ro)
- button = Button(ro, text="Avvia progetto", command=avvia)
- label_name.grid(row=0, sticky=W, padx=5, pady=5)
- text_name.grid(row=0, column=1, sticky=E, padx=5, pady=5)
- label_user.grid(row=1, sticky=W, padx=5, pady=5)
- text_user.grid(row=1, column=1, sticky=E, padx=5, pady=5)
- label_password.grid(row=2, sticky=W, padx=5, pady=5)
- text_password.grid(row=2, column=1, sticky=E, padx=5, pady=5)
- label_type.grid(row=3, sticky=W, padx=5, pady=5)
- combo_type.grid(row=3, column=1, sticky=E, padx=5, pady=5)
- label_colate.grid(row=4, sticky=W, padx=5, pady=5)
- text_colate.grid(row=4, column=1, sticky=E, padx=5, pady=5)
- button.grid(row=5, column=0, columnspan=2, padx=5, pady=5)
- ro.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement