Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson17-diy2
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
a2020951
authored
Jan 01, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
0195bf77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
my_window.py
my_window.py
View file @
a2020951
...
@@ -4,11 +4,18 @@ def register():
...
@@ -4,11 +4,18 @@ def register():
name
=
e1
.
get
()
name
=
e1
.
get
()
password1
=
e2
.
get
()
password1
=
e2
.
get
()
password2
=
e3
.
get
()
password2
=
e3
.
get
()
if
password1
==
password2
:
if
name
==
''
:
print
(
'用户名为空'
)
if
password1
==
''
:
print
(
'密码为空'
)
if
password2
==
''
:
print
(
'未确认密码'
)
elif
password1
==
password2
:
print
(
'银行卡用户信息为:'
,
name
,
password1
,
password2
)
print
(
'银行卡用户信息为:'
,
name
,
password1
,
password2
)
else
:
else
:
print
(
'密码与确认密码不一致'
)
print
(
'密码与确认密码不一致'
)
# 建立窗口对象
# 建立窗口对象
root
=
tkinter
.
Tk
()
root
=
tkinter
.
Tk
()
root
.
title
(
'银行卡账户信息窃取'
)
# 设置窗口标题
root
.
title
(
'银行卡账户信息窃取'
)
# 设置窗口标题
...
...
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