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
cbbd9337
authored
a year ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c4a8927b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
方法是东西.py
方法是东西.py
View file @
cbbd9337
impor
t
tkinter
impor
t
tkinter
import
tkinter
photo
=
tkinter
.
PhotoImage
(
file
=
r"C:\Users\86138\Desktop\2021060821348058.jpg"
)
def
gh
():
name
=
e1
.
get
()
n3
=
e2
.
get
()
...
...
@@ -43,7 +43,7 @@ lab.place(x=100,y=220)
button
=
tkinter
.
Button
(
root
,
text
=
"提交"
,
bg
=
"lightgreen"
,
width
=
15
,
command
=
gh
)
button
.
place
(
x
=
150
,
y
=
250
)
photo
=
tkinter
.
PhotoImage
(
file
=
"C:
\
Users
\
86138
\
Desktop
\202
1060821348058.jpg"
)
root
.
mainloop
()
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