Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson17-diy1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d6d16f63
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
0651e310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
my_window.py
my_window.py
View file @
d6d16f63
import
tkinter
import
tkinter
as
tk
root
=
tk
.
Tk
()
#创建
root
.
title
(
'注册窗口'
)
root
.
geometry
(
'400x300+490+190'
)
la
=
tk
.
Label
(
root
,
text
=
(
''
),
font
=
(
''
,
15
),
fg
=
'white'
,
width
=
40
,
high
=
2
,
bg
=
'blue'
)
ent
=
tk
.
Entry
(
root
,
show
=
None
,
font
=
(
'宋体'
,
14
),
bg
=
"light grey"
,
width
=
18
)
ent
.
place
(
x
=
120
,
y
=
30
)
root
.
mainloop
()
#保持窗口显示
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment