用户:
虚心的土岩龙vnj查看:108 回复:0 评论:0 创建时间:2019-06-02T10:27:22
【作品展示】

【作品介绍】
【作品源代码】
#导入模块
from tkinter import*
root=Tk()
root.title("我的第一个窗口程序")
root.geometry("300x300")
Label(root,text="登录",bg="green",fg="red").place(x=100,y=10)
Label(root, text="用户名", bg="green", fg="red").place(x=35, y=50)
Label(root, text="密码", bg="green", fg="red").place(x=35, y=80)
Entry(root).place(x=100,y=50)
Entry(root).place(x=100, y=80)
Button(root,text="确定").place(x=150,y=120)
root.mainloop()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn