FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python-GUI-Project/tkinter-5.py at master · python-gui-application/Python-GUI-Project · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-gui-application
/
Python-GUI-Project
Public
forked from
Aashishkumar123/Python-GUI-Project
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Python-GUI-Project
/
tkinter-5.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (9 loc) · 296 Bytes
Breadcrumbs
Python-GUI-Project
/
tkinter-5.py
Copy path
File metadata and controls
10 lines (9 loc) · 296 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
from
tkinter
import
*
from
PIL
import
ImageTk
,
Image
root
=
Tk
()
root
.
title
(
"my GUI"
)
root
.
geometry
(
"250x150"
)
img
=
ImageTk
.
PhotoImage
(
Image
.
open
(
r'C:\Users\USER\Desktop\image-16.jpg'
))
panel
=
Label
(
root
,
image
=
img
)
panel
.
pack
(
side
=
"bottom"
,
fill
=
"both"
,
expand
=
"yes"
)
root
.
mainloop
()
Back
|
FazBrowse Home
|
New Git URL