Commit d3d6f098 by BellCodeEditor

auto save

parent 0651e310
Showing with 9 additions and 1 deletions
import tkinter
import tkinter # 导入tkinter
# 建立窗口对象
root = tkinter.Tk() # Tk()类创建窗口,并赋值给root
root.title("注册") # 设置窗口标题,(注册)
root.geometry("400x320+500+200") # 调用geometry()设置窗口大小400x320固定出现位置500+200
# 保持窗口监听,进入信息循环
root.mainloop() # mainloop()使窗口保持循环
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment