contactlistbuiler.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:repo 作者: austinHeisleyCook 项目源码 文件源码
def __init__(self):
        #setup environment
        self.Font = ["arial 16"]
        root.geometry("200x280")
        root.title("contact creator")
        ttk.Style().configure("TLabel", relief="raised",background="#0ff", font=self.Font)
        ttk.Style().configure("TEntry", relief="raised",background="#aff", font=self.Font)
        ttk.Style().configure("TButton", relief="raised", background="#aff", font=self.Font)
        self.flabel = ttk.Label(text="filename")
        self.flabel.pack(side="top")
        self.filename = ttk.Entry()
        self.filename.pack(side="top")
        self.contactname = ttk.Label(text="name")
        self.contactname.pack(side="top")
        self.name = ttk.Entry()
        self.name.pack()
        self.phonenumber = ttk.Label(text="phonenumber:") 
        self.phonenumber.pack(side="top")
        self.number = ttk.Entry()
        self.number.pack()
        self.Email = ttk.Label(text="email address")
        self.Email.pack(side="top")
        self.email = ttk.Entry()
        self.email.pack()
        self.Save = ttk.Button(text="save data", command=self.save)
        self.Save.pack(side="top")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号