Dec
JAN
Feb
09
2021
2022
2023
About this capture
Organization:
Internet Archive
Focused crawls are collections of frequently-updated webcrawl data from narrow (as opposed to broad or wide) web crawls, often focused on a single domain or subdomain.
T h e W a y b a c k M a c h i n e - h t t p : / / w e b . a r c h i v e . o r g / w e b / 2 0 2 2 0 1 0 9 1 0 0 1 0 5 / h t t p s : / / g i t h u b . c o m / P y S i m p l e G U I
S k i p t o c o n t e n t
S i g n up
●
●
F e a t u r e s
●
M o b i l e
●
A c t i o n s
●
C o d e s p a c e s
●
P a c k a g e s
●
S e c u r i t y
●
C o d e r e v i e w
●
I s s u e s
●
I n t e g r a t i o n s
●
G i t H u b S p o n s o r s
●
C u s t o m e r s t o r i e s
●
●
●
●
E x p l o r e G i t H u b
● L e a r n a n d c o n t r i b u t e
●
T o p i c s
●
C o l l e c t i o n s
●
T r e n d i n g
●
L e a r n i n g L a b
●
O p e n s o u r c e g u i d e s
● C o n n e c t w i t h o t h e r s
●
T h e R e a d M E P r o j e c t
●
E v e n t s
●
C o m m u n i t y f o r u m
●
G i t H u b E d u c a t i o n
●
G i t H u b S t a r s p r o g r a m
●
●
●
P l a n s
●
C o m p a r e p l a n s
●
C o n t a c t S a l e s
●
E d u c a t i o n
In this user
All GitHub
↵
Jump to
↵
No suggested jump to results
{ { m e s s a g e } }
P y S i m p l e G U I
F o l l o w
O v e r v i e w
R e p o s i t o r i e s
37
P r o j e c t s
0
P a c k a g e s
0
S t a r s
3 7 1
S p o n s o r i n g
6
M o r e
●
O v e r v i e w
●
R e p o s i t o r i e s
●
P r o j e c t s
●
P a c k a g e s
●
S t a r s
●
S p o n s o r i n g
P y S i m p l e G U I
F o l l o w
🧡
H a v i n g t h e t i m e o f m y l i f e h e a r i n g f r o m s o m a n y h a p p y p e o p l e ! 💖
P y S i m p l e G U I
P y S i m p l e G U I
🧡
H a v i n g t h e t i m e o f m y l i f e h e a r i n g f r o m s o m a n y h a p p y p e o p l e ! 💖
F o l l o w
N o w P y t h o n p r o g r a m m e r s o f a l l s k i l l l e v e l s c a n m a k e G U I p r o g r a m s .
C o m m e r c i a l i n t e r e s t s c a n c o n t a c t :
m i k e @ P y S i m p l e G U I . o r g
4 . 5 k
f o l l o w e r s
·
7
f o l l o w i n g
P y S i m p l e G U I
●
U S A
● T w i t t e r
@ P y S i m p l e G U I
S p o n s o r s
+ 9
S p o n s o r i n g
A c h i e v e m e n t s
A c h i e v e m e n t s
H i g h l i g h t s
●
P r o
B l o c k o r R e p o r t
B l o c k o r r e p o r t P y S i m p l e G U I
You must be logged in to block users.
Block user
R e p o r t a b u s e
C o n t a c t G i t H u b s u p p o r t a b o u t t h i s u s e r ’ s b e h a v i o r .
L e a r n m o r e a b o u t r e p o r t i n g a b u s e .
R e p o r t a b u s e
O v e r v i e w
R e p o s i t o r i e s
37
P r o j e c t s
0
P a c k a g e s
0
S t a r s
3 7 1
S p o n s o r i n g
6
M o r e
●
O v e r v i e w
●
R e p o s i t o r i e s
●
P r o j e c t s
●
P a c k a g e s
●
S t a r s
●
S p o n s o r i n g
P y S i m p l e G U I / r e a d m e . m d
P y t h o n G U I s f o r H u m a n s
T r a n s f o r m s t h e t k i n t e r , Q t , W x P y t h o n , a n d R e m i ( b r o w s e r - b a s e d ) G U I f r a m e w o r k s i n t o a s i m p l e r i n t e r f a c e . T h e w i n d o w d e f i n i t i o n i s s i m p l i f i e d b y u s i n g P y t h o n c o r e d a t a t y p e s u n d e r s t o o d b y b e g i n n e r s ( l i s t s a n d d i c t i o n a r i e s ) . F u r t h e r s i m p l i f i c a t i o n h a p p e n s b y c h a n g i n g e v e n t h a n d l i n g f r o m a c a l l b a c k - b a s e d m o d e l t o a m e s s a g e p a s s i n g o n e .
Y o u r c o d e i s n o t r e q u i r e d t o h a v e a n o b j e c t o r i e n t e d a r c h i t e c t u r e w h i c h m a k e s t h e p a c k a g e u s a b l e b y a l a r g e r a u d i e n c e . W h i l e t h e a r c h i t e c t u r e i s s i m p l e t o u n d e r s t a n d , i t d o e s n o t n e c e s s a r i l y l i m i t y o u t o o n l y s i m p l e p r o b l e m s .
S o m e p r o g r a m s a r e n o t w e l l - s u i t e d f o r P y S i m p l e G U I h o w e v e r . B y d e f i n i t i o n , P y S i m p l e G U I i m p l e m e n t s a s u b s e t o f t h e u n d e r l y i n g G U I f r a m e w o r k s ' c a p a b i l i t i e s . I t ' s d i f f i c u l t t o d e f i n e e x a c t l y w h i c h p r o g r a m s a r e w e l l s u i t e d f o r P y S i m p l e G U I a n d w h i c h a r e n o t . I t d e p e n d s o n t h e d e t a i l s o f y o u r p r o g r a m . D u p l i c a t i n g E x c e l i n e v e r y d e t a i l i s a n e x a m p l e o f s o m e t h i n g n o t w e l l s u i t e d f o r P y S i m p l e G U I .
J a p a n e s e v e r s i o n o f t h i s r e a d m e .
I c o u l d u s e a c o f f e e ! I t f u e l s c o n s u l t a n t s , e d i t o r s , d o m a i n r e g i s t r a t i o n a n d s o m a n y o t h e r t h i n g s r e q u i r e d f o r P y S i m p l e G U I t o b e a t h r i v i n g p r o j e c t . E v e r y d o n a t i o n h e l p s , a n d h e l p i s n e e d e d a n d a p p r e c i a t e d .
S t a t i s t i c s 📈
P y P I S t a t i s t i c s & V e r s i o n s
TK
TK 2.7
Qt
WxPython
Web (Remi)
G i t H u b S t a t i s t i c s
Issues
Commit Activity
Stars
Docs
W h a t I s P y S i m p l e G U I ❓
P y S i m p l e G U I i s a P y t h o n p a c k a g e t h a t e n a b l e s P y t h o n p r o g r a m m e r s o f a l l l e v e l s t o c r e a t e G U I s . Y o u s p e c i f y y o u r G U I w i n d o w u s i n g a " l a y o u t " w h i c h c o n t a i n s w i d g e t s ( t h e y ' r e c a l l e d " E l e m e n t s " i n P y S i m p l e G U I ) . Y o u r l a y o u t i s u s e d t o c r e a t e a w i n d o w u s i n g o n e o f t h e 4 s u p p o r t e d f r a m e w o r k s t o d i s p l a y a n d i n t e r a c t w i t h y o u r w i n d o w . S u p p o r t e d f r a m e w o r k s i n c l u d e t k i n t e r , Q t , W x P y t h o n , o r R e m i . T h e t e r m " w r a p p e r " i s s o m e t i m e s u s e d f o r t h e s e k i n d s o f p a c k a g e s .
Y o u r P y S i m p l e G U I c o d e i s s i m p l e r a n d s h o r t e r t h a n w r i t i n g d i r e c t l y u s i n g t h e u n d e r l y i n g f r a m e w o r k b e c a u s e P y S i m p l e G U I i m p l e m e n t s m u c h o f t h e " b o i l e r p l a t e c o d e " f o r y o u . A d d i t i o n a l l y , i n t e r f a c e s a r e s i m p l i f i e d t o r e q u i r e a s l i t t l e c o d e a s p o s s i b l e t o g e t t h e d e s i r e d r e s u l t . D e p e n d i n g o n t h e p r o g r a m a n d f r a m e w o r k u s e d , a P y S i m p l e G U I p r o g r a m m a y r e q u i r e 1 / 2 t o 1 / 1 0 t h a m o u n t o f c o d e t o c r e a t e a n i d e n t i c a l w i n d o w u s i n g o n e o f t h e f r a m e w o r k s d i r e c t l y .
W h i l e t h e g o a l i s t o e n c a p s u l a t e / h i d e t h e s p e c i f i c o b j e c t s a n d c o d e u s e d b y t h e G U I f r a m e w o r k y o u a r e r u n n i n g o n t o p o f , i f n e e d e d y o u c a n a c c e s s t h e f r a m e w o r k s ' d e p e n d e n t w i d g e t s a n d w i n d o w s d i r e c t l y . I f a s e t t i n g o r f e a t u r e i s n o t y e t e x p o s e d o r a c c e s s i b l e u s i n g t h e P y S i m p l e G U I A P I s , y o u a r e n o t w a l l e d o f f f r o m t h e f r a m e w o r k . Y o u c a n e x p a n d c a p a b i l i t i e s w i t h o u t d i r e c t l y m o d i f y i n g t h e P y S i m p l e G U I p a c k a g e i t s e l f .
B r i d g i n g t h e " G U I G a p "
P y t h o n h a s b r o u g h t a l a r g e n u m b e r o f p e o p l e i n t o t h e p r o g r a m m i n g c o m m u n i t y . T h e n u m b e r o f p r o g r a m s a n d t h e r a n g e o f a r e a s i t t o u c h e s i s m i n d b o g g l i n g . B u t m o r e o f t e n t h a n n o t , t h e s e t e c h n o l o g i e s a r e o u t o f r e a c h o f a l l b u t a h a n d f u l o f p e o p l e . T h e m a j o r i t y o f P y t h o n p r o g r a m s a r e " c o m m a n d l i n e " b a s e d . T h i s i s n ' t a p r o b l e m f o r p r o g r a m m e r - t y p e s a s w e ' r e a l l u s e d t o i n t e r a c t i n g w i t h c o m p u t e r s t h r o u g h a t e x t i n t e r f a c e . W h i l e p r o g r a m m e r s d o n ' t h a v e a p r o b l e m w i t h c o m m a n d - l i n e i n t e r f a c e s , m o s t " n o r m a l p e o p l e " d o . T h i s c r e a t e s a d i g i t a l d i v i d e , a " G U I G a p " .
A d d i n g a G U I t o a p r o g r a m o p e n s t h a t p r o g r a m u p t o a w i d e r a u d i e n c e . I t b e c o m e s m o r e a p p r o a c h a b l e . G U I s c a n a l s o m a k e i n t e r a c t i n g w i t h s o m e p r o g r a m s e a s i e r , e v e n f o r t h o s e t h a t a r e c o m f o r t a b l e w i t h a c o m m a n d - l i n e i n t e r f a c e . A n d f i n a l l y , s o m e p r o b l e m s r e q u i r e a G U I .
R e c o g n i t i o n o f O p e n S o u r c e U s e
I n t h e D e m o P r o g r a m s o r o n e o f t h e P y S i m p l e G U I A c c o u n t ' s R e p o s t h e s e p a c k a g e s w e r e u s e d a t l e a s t o n e t i m e . S o m e o f y o u r a r e t h e g o o d i e s o n t h e r i g h t o f t h e G U I g a p .
c h a t t e r b o t
c v 2
f i t z
f o r e c a s t i o
g t t s
m a t p l o t l i b
m i d o
m p l _ t o o l k i t s
n o t i f y p y
n u m p y
p a n d a s
P I L
p r a w
p s g t r a y
p s u t i l
p y f i g l e t
p y g a m e
p y l a b
p y m u n k
r e q u e s t s
v l c
w i n 3 2 a p i
w i n 3 2 c o n
w i n 3 2 g u i
w i n 3 2 p r o c e s s
L P L G 3 a s a n E x a m p l e
T h e l i c e n s i n g t e r m s i n t h e L L C 3 L i c e n s i n g , i t s t a t e s :
(一) C o m b i n e d W o r k s .
Y o u m a y c o n v e y a C o m b i n e d W o r k u n d e r t e r m s o f y o u r c h o i c e t h a t ,
t a k e n t o g e t h e r , e f f e c t i v e l y d o n o t r e s t r i c t m o d i f i c a t i o n o f t h e
p o r t i o n s o f t h e L i b r a r y c o n t a i n e d i n t h e C o m b i n e d W o r k a n d r e v e r s e
e n g i n e e r i n g f o r d e b u g g i n g s u c h m o d i f i c a t i o n s , i f y o u a l s o d o e a c h o f
t h e f o l l o w i n g :
a ) G i v e p r o m i n e n t n o t i c e w i t h e a c h c o p y o f t h e C o m b i n e d W o r k t h a t
t h e L i b r a r y i s u s e d i n i t a n d t h a t t h e L i b r a r y a n d i t s u s e a r e
c o v e r e d b y t h i s L i c e n s e .
b ) A c c o m p a n y t h e C o m b i n e d W o r k w i t h a c o p y o f t h e G N U G P L a n d t h i s l i c e n s e
d o c u m e n t .
S i n c e t h e a b o v e p a c k a g e s e a c h h a v e a s i m i l a r l i c e n s e c l a u s e , I ' m l i s t i n g t h e m h e r e , i n w h a t I w o u l d c o n s i d e r a " p r o m i n e n t n o t i c e " l o c a t i o n , t h a t I ' m u s i n g t h e f i n e w o r k s o f t h e s e g r o u p s o r i n d i v i d u a l s . T h e y a r e u s e d i n t h e D e m o P r o g r a m s m o s t l i k e l y o r o n e o f t h e R e p o s t h a t a r e u n d e r t h i s a c c o u n t a s t h i s l i s t i s a l l i n c l u s i v e .
Y o u a l l h a v e m y r e s p e c t a n d a d m i r a t i o n . Y o u ' r e e n a b l i n g b i g g e r t h i n g s . W h a t a s p e c i a l k i n d o f t h i n g t o m a k e . W h o k n o w s w h a t y o u ' v e e n a b l e d . I b e l i e v e m o r e p e o p l e a r e g e t t i n g o v e r t o y o u r c r e a t i o n s a n d g e t t i n g t o e x p e r i e n c e t h e m .
t k i n t e r t e a m - P y S i m p l e G U I w o u l d b e n o w h e r e w i t h o u t y o u r l e n g t h y w o r k & c o n t i n i o s d e d i c a t i o n . O N E G U I A P I f o r 3 d i f f e r e n t O S ' s ? R e a l l y ? W i t h n o c o d e c h a n g e s t o m o v e b e t w e e n ? T h a t ' s a h u g e a c c o m p l i s h m e n t . Y o u ' r e # 1 t o m e .
G e t t i n g O v e r " T h e B a r "
I t ' s b e e n s a i d b y s o m e t h a t " t h e b a r i s p r e t t y h i g h " w h e n i t c o m e s t o l e a r n i n g G U I p r o g r a m m i n g i n P y t h o n .
W h a t h a p p e n s w h e n t h e b a r i s p l a c e d o n t h e g r o u n d a n d c a n b e s t e p p e d o v e r ?
T h i s i s o n e o f t h e q u e s t i o n s t h a t t h e P y S i m p l e G U I p r o j e c t h a s t r i e d t o a n s w e r . H e r e ' s a h u m o r o u s l o o k a t w h a t ' s b e e n a n o t f u n n y s i t u a t i o n .
T h e r e s u l t s h a v e b e e n f a s c i n a t i n g t o w i t n e s s a n d i t ' s b e e n t o u c h i n g t o r e a d t h e a c c o u n t s o f t h e j o u r n e y s o f u s e r s .
N o t h i n g p r e p a r e d m e f o r t h e e m a i l s t h a t s t a r t e d t o a r r i v e s o o n a f t e r t h e f i r s t r e l e a s e o f P y S i m p l e G U I . T h e y a r e h e a r t w a r m i n g a n d h e a r t b r e a k i n g t a l e s o f l i f e - l o n g d r e a m s o f c r e a t i n g a p r o g r a m t h a t r e q u i r e d a G U I . S o m e m a d e a f e w a t t e m p t s , g i v i n g u p e a c h t i m e . O t h e r s n e v e r s t a r t e d o n c e t h e y s t a r t e d t o r e s e a r c h w h a t w a s r e q u i r e d .
A f t e r r e c o u n t i n g t h e v a r i e d a n d l o n g r o a d t o f i n d i n g P y S i m p l e G U I , t h e s t o r i e s b e c a m e s i m i l a r . T h e y e a c h f o u n d s u c c e s s a n d e x p r e s s e d j o y a n d g r a t i t u d e . T h e j o y e x p r e s s e d i n t h e s e m e s s a g e s w a s u n l i k e a n y t h i n g I h a d e n c o u n t e r e d i n t h e e n t i r e t y o f c a r e e r i n t h e c o m p u t i n g f i e l d .
I t ' s b e e n t h e s e e m a i l s a n d t h e m e s s a g e s o f g r a t i t u d e s e e n h e r e i n t h e G i t H u b I s s u e s t h a t m a d e d e d i c a t i n g m y l i f e t o h i s p r o j e c t a n o n - d e c i s i o n .
A b o u t M e 👋
H i t h e r e ! I ' m M i k e . Y o u ' l l f i n d m e r i g h t h e r e , o n t h e P y S i m p l e G U I G i t H u b , s o l v i n g p r o b l e m s a n d c o n t i n u o u s l y p u s h i n g P y S i m p l e G U I f o r w a r d . I ' v e d e d i c a t e d m y d a y s , n i g h t s , a n d w e e k e n d s t o t h e p r o j e c t a n d P y S i m p l e G U I u s e r s . O u r s u c c e s s e s a r e u l t i m a t e l y s h a r e d . I ' m s u c c e s s f u l w h e n y o u ' r e s u c c e s s f u l .
W h i l e I ' m a r e l a t i v e n e w c o m e r t o P y t h o n , I ' v e b e e n w r i t i n g s o f t w a r e s i n c e t h e 7 0 s . T h e m a j o r i t y o f m y c a r e e r w a s s p e n t c r e a t i n g p r o d u c t s i n S i l i c o n V a l l e y . I b r i n g t o P y S i m p l e G U I t h e s a m e p r o f e s s i o n a l i s m a n d d e d i c a t i o n a s I d i d t o t h e c o r p o r a t e p r o d u c t s I d e v e l o p e d . Y o u a r e m y c u s t o m e r s n o w .
P r o j e c t G o a l s 🥅
T w o o f t h e m o s t i m p o r t a n t g o a l s o f t h e P y S i m p l e G U I p r o j e c t :
● H a v i n g f u n
● Y o u r s u c c e s s
F u n a s a g o a l o n a s e r i o u s p r o j e c t s o u n d s o d d , b u t i t ' s a s e r i o u s g o a l . I f i n d w r i t i n g t h e s e G U I p r o g r a m s t o b e a l o t o f f u n . O n e r e a s o n i s h o w l i t t l e t i m e i t t a k e s t o w r i t e a c o m p l e t e s o l u t i o n . I f w e ' r e n o t e n j o y i n g t h e p r o c e s s t h e n s o m e o n e ' s g o i n g t o g i v e u p .
T h e r e i s a s i g n i f i c a n t a m o u n t o f d o c u m e n t a t i o n , a c o o k b o o k , 1 0 0 ' s o f d e m o p r o g r a m s t o g e t y o u i m m e d i a t e l y r u n n i n g , a d e t a i l e d c a l l r e f e r e n c e , Y o u T u b e v i d e o s , o n l i n e T r i n k e t d e m o s , a n d m o r e . . . a l l w o r k i n g t o c r e a t e . . . a f u n e x p e r i e n c e .
Y o u r S u c c e s s i s a s h a r e d g o a l . P y S i m p l e G U I w a s b u i l t f o r d e v e l o p e r s . Y o u ' r e m y p e e p s . I t ' s b e e n a n u n e x p e c t e d r e w a r d t o s e e t h e r e s u l t s o f t h e c o m b i n e d e f f o r t o f u s e r s a n d P y S i m p l e G U I . U s e t h e d o c u m e n t a t i o n & o t h e r m a t e r i a l s t o h e l p b u i l d y o u r a p p l i c a t i o n . I f y o u r u n i n t o t r o u b l e , h e l p i s a v a i l a b l e b y o p e n i n g o n I s s u e o n t h e P y S i m p l e G U I G i t H u b . T a k e a l o o k a t t h e s e c t i o n o n S u p p o r t b e l o w .
E d u c a t i o n a l R e s o u r c e s 📚
w w w . P y S i m p l e G U I . o r g i s e a s y t o r e m e m b e r a n d i s w h e r e t h e d o c u m e n t a t i o n i s l o c a t e d . Y o u ' l l f i n d t a b s a c r o s s t h e t o p t h a t r e p r e s e n t s e v e r a l d i f f e r e n t d o c u m e n t s . T h e d o c u m e n t a t i o n i s l o c a t e d o n " R e a d T h e D o c s " s o t h a t t h e r e i s a t a b l e o f c o n t e n t s f o r e a c h d o c u m e n t a n d t h e y a r e e a s y t o s e a r c h .
T h e r e a r e 1 0 0 s o f p a g e s o f w r i t t e n d o c u m e n t a t i o n a n d 1 0 0 s o f e x a m p l e p r o g r a m s t h a t w i l l h e l p y o u b e e f f e c t i v e v e r y q u i c k l y . R a t h e r t h a n r e q u i r i n g d a y s o r w e e k s o f i n v e s t m e n t t o l e a r n a s i n g l e G U I p a c k a g e , y o u m a y b e a b l e t o c o m p l e t e y o u r p r o j e c t i n a s i n g l e a f t e r n o o n w h e n u s i n g P y S i m p l e G U I .
E x a m p l e 1 - T h e O n e - S h o t W i n d o w
T h i s t y p e o f p r o g r a m i s c a l l e d a " o n e - s h o t " w i n d o w b e c a u s e t h e w i n d o w i s d i s p l a y e d o n e t i m e , t h e v a l u e s c o l l e c t e d , a n d t h e n i t i s c l o s e d . I t d o e s n ' t r e m a i n o p e n f o r a l o n g t i m e l i k e y o u w o u l d i n a W o r d P r o c e s s o r .
A n a t o m y o f a S i m p l e P y S i m p l e G U I P r o g r a m
T h e r e a r e 5 s e c t i o n s t o a P y S i m p l e G U I p r o g r a m
import PySimpleGUI as sg # Part 1 - The import
# Define the window's contents
layout = [ [sg .Text ("What's your name?" )], # Part 2 - The Layout
[sg .Input ()],
[sg .Button ('Ok' )] ]
# Create the window
window = sg .Window ('Window Title' , layout ) # Part 3 - Window Defintion
# Display and interact with the Window
event , values = window .read () # Part 4 - Event loop or Window.read call
# Do something with the information gathered
print ('Hello' , values [0 ], "! Thanks for trying PySimpleGUI" )
# Finish up by removing from the screen
window .close () # Part 5 - Close the Window
T h e c o d e p r o d u c e s t h i s w i n d o w
E x a m p l e 2 - I n t e r a c t i v e W i n d o w
I n t h i s e x a m p l e , o u r w i n d o w w i l l r e m a i n o n t h e s c r e e n u n t i l t h e u s e r c l o s e s t h e w i n d o w o r c l i c k s t h e Q u i t b u t t o n . T h e m a i n d i f f e r e n c e b e t w e e n t h e o n e - s h o t w i n d o w y o u s a w e a r l i e r a n d a n i n t e r a c t i v e w i n d o w i s t h e a d d i t i o n o f a n " E v e n t L o o p " . T h e E v e n t L o o p r e a d s e v e n t s a n d i n p u t s f r o m y o u r w i n d o w . T h e h e a r t o f y o u r a p p l i c a t i o n l i v e s i n t h e e v e n t l o o p .
import PySimpleGUI as sg
# Define the window's contents
layout = [[sg .Text ("What's your name?" )],
[sg .Input (key = '-INPUT-' )],
[sg .Text (size = (40 ,1 ), key = '-OUTPUT-' )],
[sg .Button ('Ok' ), sg .Button ('Quit' )]]
# Create the window
window = sg .Window ('Window Title' , layout )
# Display and interact with the Window using an Event Loop
while True :
event , values = window .read ()
# See if user wants to quit or window was closed
if event == sg .WINDOW_CLOSED or event == 'Quit' :
break
# Output a message to the window
window ['-OUTPUT-' ].update ('Hello ' + values ['-INPUT-' ] + "! Thanks for trying PySimpleGUI" )
# Finish up by removing from the screen
window .close ()
T h i s i s t h e w i n d o w t h a t E x a m p l e 2 p r o d u c e s .
A n d h e r e ' s w h a t i t l o o k s l i k e a f t e r y o u e n t e r a v a l u e i n t o t h e I n p u t f i e l d a n d c l i c k t h e O k b u t t o n .
L e t ' s t a k e a q u i c k l o o k a t s o m e o f t h e d i f f e r e n c e s b e t w e e n t h i s e x a m p l e a n d t h e o n e - s h o t w i n d o w .
F i r s t , y o u ' l l n o t i c e d i f f e r e n c e s i n t h e l a y o u t . T w o c h a n g e s i n p a r t i c u l a r a r e i m p o r t a n t . O n e i s t h e a d d i t i o n o f t h e k e y p a r a m e t e r t o t h e I n p u t e l e m e n t a n d o n e o f t h e T e x t e l e m e n t s . A k e y i s l i k e a n a m e f o r a n e l e m e n t . O r , i n P y t h o n t e r m s , i t ' s l i k e a d i c t i o n a r y k e y . T h e I n p u t e l e m e n t ' s k e y w i l l b e u s e d a s a d i c t i o n a r y k e y l a t e r i n t h e c o d e .
A n o t h e r d i f f e r e n c e i s t h e a d d i t i o n o f t h i s T e x t e l e m e n t :
[sg .Text (size = (40 ,1 ), key = '-OUTPUT-' )],
T h e r e a r e 2 p a r a m e t e r s , t h e k e y w e a l r e a d y c o v e r e d . T h e s i z e p a r a m e t e r d e f i n e s t h e s i z e o f t h e e l e m e n t i n c h a r a c t e r s . I n t h i s c a s e , w e ' r e i n d i c a t i n g t h a t t h i s T e x t e l e m e n t i s 4 0 c h a r a c t e r s w i d e , b y 1 c h a r a c t e r h i g h . N o t i c e t h a t t h e r e i s n o t e x t s t r i n g s p e c i f i e d w h i c h m e a n s i t ' l l b e b l a n k . Y o u c a n e a s i l y s e e t h i s b l a n k r o w i n t h e w i n d o w t h a t ' s c r e a t e d .
W e a l s o a d d e d a b u t t o n , " Q u i t " .
T h e E v e n t L o o p h a s o u r f a m i l i a r w i n d o w . r e a d ( ) c a l l .
F o l l o w i n g t h e r e a d i s t h i s i f s t a t e m e n t :
if event == sg .WINDOW_CLOSED or event == 'Quit' :
break
T h i s c o d e i s c h e c k i n g t o s e e i f t h e u s e r c l o s e d t h e w i n d o w b y c l i c k i n g t h e " X " o r i f t h e y c l i c k e d t h e " Q u i t " b u t t o n . I f e i t h e r o f t h e s e h a p p e n s , t h e n t h e c o d e w i l l b r e a k o u t o f t h e e v e n t l o o p .
I f t h e w i n d o w w a s n ' t c l o s e d n o r t h e Q u i t b u t t o n c l i c k e d , t h e n e x e c u t i o n c o n t i n u e s . T h e o n l y t h i n g t h a t c o u l d h a v e h a p p e n e d i s t h e u s e r c l i c k e d t h e " O k " b u t t o n . T h e l a s t s t a t e m e n t i n t h e E v e n t L o o p i s t h i s o n e :
window ['-OUTPUT-' ].update ('Hello ' + values ['-INPUT-' ] + "! Thanks for trying PySimpleGUI" )
T h i s s t a t e m e n t u p d a t e s t h e T e x t e l e m e n t t h a t h a s t h e k e y - O U T P U T - w i t h a s t r i n g . w i n d o w [ ' - O U T P U T - ' ] f i n d s t h e e l e m e n t w i t h t h e k e y - O U T P U T - . T h a t k e y b e l o n g s t o o u r b l a n k T e x t e l e m e n t . O n c e t h a t e l e m e n t i s r e t u r n e d f r o m t h e l o o k u p , t h e n i t s u p d a t e m e t h o d i s c a l l e d . N e a r l y a l l e l e m e n t s h a v e a n u p d a t e m e t h o d . T h i s m e t h o d i s u s e d t o c h a n g e t h e v a l u e o f t h e e l e m e n t o r t o c h a n g e s o m e c o n f i g u r a t i o n o f t h e e l e m e n t .
I f w e w a n t e d t h e t e x t t o b e y e l l o w , t h e n t h a t c a n b e a c c o m p l i s h e d b y a d d i n g a t e x t _ c o l o r p a r a m e t e r t o t h e u p d a t e m e t h o d s o t h a t i t r e a d s :
window ['-OUTPUT-' ].update ('Hello ' + values ['-INPUT-' ] + "! Thanks for trying PySimpleGUI" ,
text_color = 'yellow' )
A f t e r a d d i n g t h e t e x t _ c o l o r p a r a m e t e r , t h i s i s o u r n e w r e s u l t i n g w i n d o w :
T h e p a r a m e t e r s a v a i l a b l e f o r e a c h e l e m e n t a r e d o c u m e n t e d i n b o t h t h e c a l l r e f e r e n c e d o c u m e n t a t i o n a s w e l l a s t h e d o c s t r i n g s . P y S i m p l e G U I h a s e x t e n s i v e d o c u m e n t a t i o n t o h e l p y o u u n d e r s t a n d a l l o f t h e o p t i o n s a v a i l a b l e t o y o u . I f y o u l o o k u p t h e u p d a t e m e t h o d f o r t h e T e x t e l e m e n t , y o u ' l l f i n d t h i s d e f i n i t i o n f o r t h e c a l l :
A s y o u c a n s e e s e v e r a l t h i n g s c a n b e c h a n g e d f o r a T e x t e l e m e n t . T h e c a l l r e f e r e n c e d o c u m e n t a t i o n i s a v a l u a b l e r e s o u r c e t h a t w i l l m a k e p r o g r a m m i n g i n P y S i m p l e G U I , u h m , s i m p l e .
L a y o u t s A r e F u n n y L O L ! 😆
Y o u r w i n d o w ' s l a y o u t i s a " l i s t o f l i s t s " ( L O L ) . W i n d o w s a r e b r o k e n d o w n i n t o " r o w s " . E a c h r o w i n y o u r w i n d o w b e c o m e s a l i s t i n y o u r l a y o u t . C o n c a t e n a t e t o g e t h e r a l l o f t h e l i s t s a n d y o u ' v e g o t a l a y o u t . . . a l i s t o f l i s t s .
H e r e i s t h e s a m e l a y o u t a s b e f o r e w i t h a n e x t r a T e x t e l e m e n t a d d e d t o e a c h r o w s o t h a t y o u c a n m o r e e a s i l y s e e h o w r o w s a r e d e f i n e d :
layout = [ [sg .Text ('Row 1' ), sg .Text ("What's your name?" )],
[sg .Text ('Row 2' ), sg .Input ()],
[sg .Text ('Row 3' ), sg .Button ('Ok' )] ]
E a c h r o w o f t h i s l a y o u t i s a l i s t o f e l e m e n t s t h a t w i l l b e d i s p l a y e d o n t h a t r o w i n y o u r w i n d o w .
U s i n g l i s t s t o d e f i n e y o u r G U I h a s s o m e h u g e a d v a n t a g e s o v e r h o w G U I p r o g r a m m i n g i s d o n e u s i n g o t h e r f r a m e w o r k s . F o r e x a m p l e , y o u c a n u s e P y t h o n ' s l i s t c o m p r e h e n s i o n t o c r e a t e a g r i d o f b u t t o n s i n a s i n g l e l i n e o f c o d e .
T h e s e 3 l i n e s o f c o d e :
import PySimpleGUI as sg
layout = [[sg .Button (f'{ row } , { col } ' ) for col in range (4 )] for row in range (4 )]
event , values = sg .Window ('List Comprehensions' , layout ).read (close = True )
p r o d u c e s t h i s w i n d o w w h i c h h a s a 4 x 4 g r i d o f b u t t o n s :
R e c a l l h o w " f u n " i s o n e o f t h e g o a l s o f t h e p r o j e c t . I t ' s f u n t o d i r e c t l y a p p l y P y t h o n ' s p o w e r f u l b a s i c c a p a b i l i t i e s t o G U I p r o b l e m s . I n s t e a d o f p a g e s o f c o d e t o c r e a t e a G U I , i t ' s a f e w ( o r o f t e n 1 ) l i n e s o f c o d e .
C o l l a p s i n g C o d e
I t ' s p o s s i b l e t o c o n d e n s e a w i n d o w ' s c o d e d o w n t o a s i n g l e l i n e o f c o d e . T h e l a y o u t d e f i n i t i o n , w i n d o w c r e a t i o n , d i s p l a y , a n d d a t a c o l l e c t i o n c a n a l l b e w r i t t e n i n t h i s l i n e o f c o d e :
event , values = sg .Window ('Window Title' , [[sg .Text ("What's your name?" )],[sg .Input ()],[sg .Button ('Ok' )]]).read (close = True )
T h e s a m e w i n d o w i s s h o w n a n d r e t u r n s t h e s a m e v a l u e s a s t h e e x a m p l e s h o w i n g t h e s e c t i o n s o f a P y S i m p l e G U I p r o g r a m . B e i n g a b l e t o d o s o m u c h w i t h s o l i t t l e e n a b l e s y o u t o q u i c k l y a n d e a s i l y a d d G U I s t o y o u r P y t h o n c o d e . I f y o u w a n t t o d i s p l a y s o m e d a t a a n d g e t a c h o i c e f r o m y o u r u s e r , i t c a n b e d o n e i n a l i n e o f c o d e i n s t e a d o f a p a g e o f c o d e .
B y u s i n g s h o r t - h a n d a l i a s e s , y o u c a n s a v e e v e n m o r e s p a c e i n y o u r c o d e b y u s i n g f e w e r c h a r a c t e r s . A l l o f t h e E l e m e n t s h a v e o n e o r m o r e s h o r t e r n a m e s t h a t c a n b e u s e d . F o r e x a m p l e , t h e T e x t e l e m e n t c a n b e w r i t t e n s i m p l y a s T . T h e I n p u t e l e m e n t c a n b e w r i t t e n a s I a n d t h e B u t t o n as B . Y o u r s i n g l e - l i n e w i n d o w c o d e t h u s b e c o m e s :
event , values = sg .Window ('Window Title' , [[sg .T ("What's your name?" )],[sg .I ()],[sg .B ('Ok' )]]).read (close = True )
C o d e P o r t a b i l i t y
P y S i m p l e G U I i s c u r r e n t l y c a p a b l e o f r u n n i n g o n 4 P y t h o n G U I F r a m e w o r k s . T h e f r a m e w o r k t o u s e i s s p e c i f i e d u s i n g t h e i m p o r t s t a t e m e n t . C h a n g e t h e i m p o r t a n d y o u ' l l c h a n g e t h e u n d e r l y i n g G U I f r a m e w o r k . F o r s o m e p r o g r a m s , n o o t h e r c h a n g e s a r e n e e d e d t h a n t h e i m p o r t s t a t e m e n t t o r u n o n a d i f f e r e n t G U I f r a m e w o r k . I n t h e e x a m p l e a b o v e , c h a n g i n g t h e i m p o r t f r o m P y S i m p l e G U I to P y S i m p l e G U I Q t , P y S i m p l e G U I W x , P y S i m p l e G U I W e b w i l l c h a n g e t h e f r a m e w o r k .
Import Statement
Resulting Window
PySimpleGUI
PySimpleGUIQt
PySimpleGUIWx
PySimpleGUIWeb
P o r t i n g G U I c o d e f r o m o n e f r a m e w o r k t o a n o t h e r ( e . g . m o v i n g y o u r c o d e f r o m t k i n t e r t o Q t ) u s u a l l y r e q u i r e s a r e w r i t e o f y o u r c o d e . P y S i m p l e G U I i s d e s i g n e d t o e n a b l e y o u t o h a v e e a s y m o v e m e n t b e t w e e n t h e f r a m e w o r k s . S o m e t i m e s s o m e c h a n g e s a r e r e q u i r e d o f y o u , b u t t h e g o a l i s t o h a v e h i g h l y p o r t a b l e c o d e w i t h m i n i m a l c h a n g e s .
S o m e f e a t u r e s , l i k e a S y s t e m T r a y I c o n , a r e n o t a v a i l a b l e o n a l l o f t h e p o r t s . T h e S y s t e m T r a y I c o n f e a t u r e i s a v a i l a b l e o n t h e Q t a n d W x P y t h o n p o r t s . A s i m u l a t e d v e r s i o n i s a v a i l a b l e o n t k i n t e r . T h e r e i s n o s u p p o r t f o r a S y s t e m T r a y i c o n i n t h e P y S i m p l e G U I W e b p o r t .
R u n t i m e E n v i r o n m e n t s
Environment
Supported
Python
Python 3.4+
Operating Systems
Windows, Linux, Mac
Hardware
Desktop PCs, Laptops, Raspberry Pi, Android devices running PyDroid3
Online
repli.it, Trinket.com (both run tkinter in a browser)
GUI Frameworks
tkinter, pyside2, WxPython, Remi
I n t e g r a t i o n s
A m o n g t h e m o r e t h a n 2 0 0 " D e m o P r o g r a m s " , y o u ' l l f i n d e x a m p l e s o f h o w t o i n t e g r a t e m a n y p o p u l a r P y t h o n p a c k a g e s i n t o y o u r G U I .
W a n t t o e m b e d a M a t p l o t l i b d r a w i n g i n t o y o u r w i n d o w ? N o p r o b l e m , c o p y t h e d e m o c o d e a n d i n s t a n t l y h a v e a M a t p l o t l i b d r a w i n g o f y o u r d r e a m s i n t o y o u r G U I .
T h e s e p a c k a g e s a n d m o r e a r e r e a d y f o r y o u t o p u t i n t o y o u r G U I a s t h e r e a r e d e m o p r o g r a m s o r a d e m o r e p o a v a i l a b l e f o r e a c h :
Package
Description
Matplotlib
Many types of graphs and plots
OpenCV
Computer Vision (often used for AI)
VLC
Video playback
pymunk
Physics engine
psutil
System environment statistics
prawn
Reddit API
json
PySimpleGUI wraps a special API to store "User Settings"
weather
Integrates with several weather APIs to make weather apps
mido
MIDI playback
beautiful soup
Web Scraping (GitHub issue watcher example)
I n s t a l l i n g 💾
T w o c o m m o n w a y s o f i n s t a l l i n g P y S i m p l e G U I :
(一) p i p t o i n s t a l l f r o m P y P I
(二) D o w n l o a d t h e f i l e P y S i m p l e G U I . p y a n d p l a c e i n y o u r a p p l i c a t i o n ' s f o l d e r
P i p I n s t a l l i n g & U p g r a d i n g
T h e c u r r e n t s u g g e s t e d w a y o f i n v o k i n g t h e p i p c o m m a n d i s b y r u n n i n g i t a s a m o d u l e u s i n g P y t h o n . P r e v i o u s l y t h e c o m m a n d p i p or p i p 3 w a s d i r e c t l y o n t o a c o m m a n d - l i n e / s h e l l . T h e s u g g e s t e d w a y
I n i t i a l i n s t a l l f o r W i n d o w s :
p y t h o n - m p i p i n s t a l l P y S i m p l e G U I
I n i t i a l i n s t a l l f o r L i n u x a n d M a c O S :
p y t h o n 3 - m p i p i n s t a l l P y S i m p l e G U I
T o u p g r a d e u s i n g p i p , y o u s i m p l y a d d 2 p a r a m e t e r s t o t h e l i n e - - u p g r a d e - - n o - c a c h e - d i r .
U p g r a d e i n s t a l l a t i o n o n W i n d o w s :
p y t h o n - m p i p i n s t a l l - - u p g r a d e - - n o - c a c h e - d i r P y S i m p l e G U I
U p g r a d e f o r L i n u x a n d M a c O S :
p y t h o n 3 - m p i p i n s t a l l - - u p g r a d e - - n o - c a c h e - d i r P y S i m p l e G U I
S i n g l e F i l e I n s t a l l i n g
P y S i m p l e G U I w a s c r e a t e d a s a s i n g l e . p y f i l e s o t h a t i t w o u l d b e v e r y e a s y f o r y o u t o i n s t a l l i t , e v e n o n s y s t e m s t h a t a r e n o t c o n n e c t e d t o t h e i n t e r n e t l i k e a R a s p b e r r y P i . I t ' s a s s i m p l e a s p l a c i n g t h e P y S i m p l e G U I . p y f i l e i n t o t h e s a m e f o l d e r a s y o u r a p p l i c a t i o n t h a t i m p o r t s i t . P y t h o n w i l l u s e y o u r l o c a l c o p y w h e n p e r f o r m i n g t h e i m p o r t .
W h e n i n s t a l l i n g u s i n g j u s t t h e . p y f i l e , y o u c a n g e t i t f r o m e i t h e r P y P I o r i f y o u w a n t t o r u n t h e m o s t r e c e n t u n r e l e a s e d v e r s i o n t h e n y o u ' l l d o w n l o a d i t f r o m G i t H u b .
T o i n s t a l l f r o m P y P I , d o w n l o a d e i t h e r t h e w h e e l o r t h e . g z f i l e a n d u n z i p t h e f i l e . I f y o u r e n a m e t h e . w h l f i l e t o . z i p y o u c a n o p e n i t j u s t l i k e a n y n o r m a l z i p f i l e . Y o u w i l l f i n d t h e P y S i m p l e G U I . p y f i l e i n o n e o f t h e f o l d e r s . C o p y t h i s f i l e t o y o u r a p p l i c a t i o n ' s f o l d e r a n d y o u ' r e d o n e .
T h e P y P I l i n k f o r t h e t k i n t e r v e r s i o n o f P y S i m p l e G U I i s :
h t t p s : / / p y p i . o r g / p r o j e c t / P y S i m p l e G U I / # f i l e s
T h e G i t H u b r e p o ' s l a t e s t v e r s i o n c a n b e f o u n d h e r e :
h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / P y S i m p l e G U I / P y S i m p l e G U I / m a s t e r / P y S i m p l e G U I . p y
N o w s o m e o f y o u a r e t h i n k i n g , " y e a , b u t , w a i t , h a v i n g a s i n g l e h u g e s o u r c e f i l e i s a t e r r i b l e i d e a " . A n d , y e a , s o m e t i m e s i t c a n b e a t e r r i b l e i d e a . I n t h i s c a s e , t h e b e n e f i t s g r e a t l y o u t w e i g h e d t h e d o w n s i d e . L o t s o f c o n c e p t s i n c o m p u t e r s c i e n c e a r e t r a d e o f f s o r s u b j e c t i v e . A s m u c h a s s o m e w o u l d l i k e i t t o b e , n o t e v e r y t h i n g i s b l a c k a n d w h i t e . M a n y t i m e s t h e a n s w e r t o a q u e s t i o n i s " i t d e p e n d s " .
G a l l e r i e s 🎨
W o r k o n a m o r e f o r m a l g a l l e r y o f u s e r - s u b m i t t e d G U I s a s w e l l a s t h o s e f o u n d o n G i t H u b i s u n d e r w a y b u t a s o f t h i s w r i t i n g i t ' s n o t c o m p l e t e . T h e r e a r e c u r r e n t l y 2 p l a c e s y o u c a n g o t o s e e s o m e s c r e e n s h o t s i n a c e n t r a l i z e d w a y . H o p e f u l l y , a W i k i o r o t h e r m e c h a n i s m c a n b e r e l e a s e d s o o n t o d o j u s t i c e t o t h e a w e s o m e c r e a t i o n s p e o p l e a r e m a k i n g .
U s e r S u b m i t t e d G a l l e r y
T h e f i r s t i s a u s e r s u b m i t t e d s c r e e n s h o t s i s s u e l o c a t e d o n t h e G i t H u b . I t ' s a n i n f o r m a l w a y f o r p e o p l e t o s h o w o f f w h a t t h e y ' v e m a d e . I t ' s n o t i d e a l , b u t i t w a s a s t a r t .
M a s s i v e S c r a p e d G i t H u b I m a g e s
T h e s e c o n d i s a m a s s i v e g a l l e r y o f o v e r 3 , 0 0 0 i m a g e s s c r a p e d f r o m 1 , 0 0 0 p r o j e c t s o n G i t H u b t h a t a r e r e p o r t e d l y u s i n g P y S i m p l e G U I . I t ' s n o t b e e n h a n d - f i l t e r e d a n d t h e r e a r e p l e n t y o f o l d s c r e e n s h o t s t h a t w e r e u s e d i n t h e e a r l y d o c u m e n t a t i o n . B u t , y o u m a y f i n d s o m e t h i n g i n t h e r e t h a t s p a r k s y o u r i m a g i n a t i o n .
U s e s f o r P y S i m p l e G U I 🔨
T h e f o l l o w i n g s e c t i o n s s h o w c a s e a f r a c t i o n o f t h e u s e s f o r P y S i m p l e G U I . T h e r e a r e o v e r 1 , 0 0 0 p r o j e c t s o n G i t H u b a l o n e t h a t u s e P y S i m p l e G U I . I t ' s t r u l y a m a z i n g h o w p o s s i b i l i t i e s h a v e o p e n e d u p f o r s o m a n y p e o p l e . M a n y u s e r s h a v e s p o k e n a b o u t p r e v i o u s l y a t t e m p t i n g t o c r e a t e a G U I i n P y t h o n a n d f a i l i n g , b u t f i n a l l y a c h i e v i n g t h e i r d r e a m s w h e n t h e y t r i e d P y S i m p l e G U I .
Y o u r F i r s t G U I
O f c o u r s e o n e o f t h e b e s t u s e s o f P y S i m p l e G U I i s g e t t i n g y o u i n t o m a k i n g G U I s f o r y o u r P y t h o n p r o j e c t s . Y o u c a n s t a r t a s s m a l l a s r e q u e s t i n g a f i l e n a m e . F o r t h i s , y o u o n l y n e e d t o m a k e a s i n g l e c a l l t o o n e o f t h e " h i g h - l e v e l f u n c t i o n s " c a l l e d p o p u p . T h e r e a r e a l l k i n d s o f p o p u p s , s o m e c o l l e c t i n f o r m a t i o n .
p o p u p o n i t s e l f m a k e s a w i n d o w t o d i s p l a y i n f o r m a t i o n . Y o u c a n p a s s m u l t i p l e p a r a m e t e r s j u s t l i k e a p r i n t . I f y o u w a n t t o g e t i n f o r m a t i o n , t h e n y o u w i l l c a l l f u n c t i o n s t h a t s t a r t w i t h p o p u p _ g e t _ s u c h a s p o p u p _ g e t _ f i l e n a m e .
A d d i n g a s i n g l e l i n e t o g e t a f i l e n a m e i n s t e a d o f s p e c i f y i n g a f i l e n a m e o n t h e c o m m a n d l i n e c a n t r a n s f o r m y o u r p r o g r a m i n t o o n e t h a t " n o r m a l p e o p l e " w i l l f e e l c o m f o r t a b l e u s i n g .
import PySimpleGUI as sg
filename = sg .popup_get_file ('Enter the file you wish to process' )
sg .popup ('You entered' , filename )
T h i s c o d e w i l l d i s p l a y 2 p o p u p w i n d o w s . O n e t o g e t t h e f i l e n a m e , w h i c h c a n b e b r o w s e d t o o r p a s t e d i n t o t h e i n p u t b o x .
T h e o t h e r w i n d o w w i l l o u t p u t w h a t i s c o l l e c t e d .
R a i n m e t e r - S t y l e W i n d o w s
T h e d e f a u l t s e t t i n g s f o r G U I f r a m e w o r k s d o n ' t t e n d t o p r o d u c e t h e n i c e s t l o o k i n g w i n d o w s . H o w e v e r , w i t h s o m e a t t e n t i o n t o d e t a i l , y o u c a n d o s e v e r a l t h i n g s t o m a k e w i n d o w s l o o k a t t r a c t i v e . P y S i m p l e G U I m a k e s i t e a s i e r t o m a n i p u l a t e c o l o r s a n d f e a t u r e s l i k e r e m o v i n g t h e t i t l e b a r . T h e r e s u l t i s w i n d o w s t h a t d o n ' t l o o k l i k e y o u r t y p i c a l t k i n t e r w i n d o w s .
H e r e i s a n e x a m p l e o f h o w y o u c a n c r e a t e w i n d o w s t h a t d o n ' t l o o k l i k e y o u r t y p i c a l t k i n t e r i n w i n d o w s . I n t h i s e x a m p l e , t h e w i n d o w s h a v e t h e i r t i t l e b a r s r e m o v e d . T h e r e s u l t i s w i n d o w s t h a t l o o k m u c h l i k e t h o s e f o u n d w h e n u s i n g R a i n m e t e r , a d e s k t o p w i d g e t p r o g r a m .
Y o u c a n e a s i l y s e t t h e t r a n s p a r e n c y o f a w i n d o w a s w e l l . H e r e a r e m o r e e x a m p l e s o f d e s k t o p w i d g e t s i n t h e s a m e R a i n m e t e r s t y l e . S o m e a r e d i m a p p e a r i n g b e c a u s e t h e y a r e s e m i - t r a n s p a r e n t .
B o t h o f t h e s e e f f e c t s ; r e m o v i n g t h e t i t l e b a r a n d m a k i n g a w i n d o w s e m i - t r a n s p a r e n t , a r e a c h i e v e d b y s e t t i n g 2 p a r a m e t e r s w h e n c r e a t i n g t h e w i n d o w . T h i s i s a n e x a m p l e o f h o w P y S i m p l e G U I e n a b l e s e a s y a c c e s s t o f e a t u r e s . A n d b e c a u s e P y S i m p l e G U I c o d e i s p o r t a b l e a c r o s s t h e G U I f r a m e w o r k s , t h e s e s a m e p a r a m e t e r s w o r k f o r t h e o t h e r p o r t s s u c h a s Q t .
C h a n g i n g t h e W i n d o w c r e a t i o n c a l l i n E x a m p l e 1 t o t h i s l i n e o f c o d e p r o d u c e s a s i m i l a r s e m i - t r a n s p a r e n t w i n d o w :
window = sg .Window ('My window' , layout , no_titlebar = True , alpha_channel = 0.5 )
G a m e s
W h i l e n o t s p e c i f i c a l l y w r i t t e n a s a g a m e d e v e l o p m e n t S D K , P y S i m p l e G U I m a k e s t h e d e v e l o p m e n t o f s o m e g a m e s q u i t e e a s y .
T h i s C h e s s p r o g r a m n o t o n l y p l a y s c h e s s , b u t i t i n t e g r a t e s w i t h t h e S t o c k f i s h c h e s s - p l a y i n g A I .
S e v e r a l v a r i a n t s o f M i n e s w e e p e r h a v e b e e n r e l e a s e d b y u s e r s .
C a r d g a m e s w o r k w e l l w i t h P y S i m p l e G U I a s m a n i p u l a t i n g i m a g e s i s s i m p l e w h e n u s i n g t h e P y S i m p l e G U I G r a p h e l e m e n t .
W h i l e n o t s p e c i f i c a l l y w r i t t e n a s a g a m e d e v e l o p m e n t S D K , P y S i m p l e G U I m a k e s d e v e l o p m e n t o f s o m e g a m e s q u i t e e a s y .
M e d i a C a p t u r e a n d P l a y b a c k
C a p t u r i n g a n d d i s p l a y i n g v i d e o f r o m y o u r w e b c a m i n a G U I i s 4 l i n e s o f P y S i m p l e G U I c o d e . E v e n m o r e i m p r e s s i v e i s t h a t t h e s e 4 l i n e s o f c o d e w o r k w i t h t h e t k i n t e r , Q t , a n d W e b p o r t s . Y o u c a n d i s p l a y y o u r w e b c a m , i n r e a l t i m e , i n a b r o w s e r u s i n g t h e s a m e c o d e t h a t d i s p l a y s t h e i m a g e u s i n g t k i n t e r .
M e d i a p l a y b a c k , a u d i o a n d v i d e o , c a n a l s o b e a c h i e v e d u s i n g t h e V L C p l a y e r . A d e m o a p p l i c a t i o n i s p r o v i d e d t o y o u s o t h a t y o u h a v e a w o r k i n g e x a m p l e t o s t a r t f r o m . E v e r y t h i n g y o u s e e i n t h i s r e a d m e i s a v a i l a b l e t o y o u a s a s t a r t i n g p o i n t f o r y o u r o w n c r e a t i o n s .
A r t i f i c i a l I n t e l l i g e n c e
A I a n d P y t h o n h a v e l o n g b e e n a r e c o g n i z e d s u p e r p o w e r w h e n t h e t w o a r e p a i r e d t o g e t h e r . W h a t ' s o f t e n m i s s i n g h o w e v e r i s a w a y f o r u s e r s t o i n t e r a c t w i t h t h e s e A I a l g o r i t h m s f a m i l i a r l y , u s i n g a G U I .
T h e s e Y O L O d e m o s a r e a g r e a t e x a m p l e o f h o w a G U I c a n m a k e a t r e m e n d o u s d i f f e r e n c e i n i n t e r a c t i n g w i t h A I a l g o r i t h m s . N o t i c e t w o s l i d e r s a t t h e b o t t o m o f t h e s e w i n d o w s . T h e s e 2 s l i d e r s c h a n g e a c o u p l e o f t h e p a r a m e t e r s u s e d b y t h e Y O L O a l g o r i t h m .
I f y o u w e r e t u n i n g y o u r Y O L O d e m o u s i n g o n l y t h e c o m m a n d l i n e , y o u w o u l d n e e d t o s e t t h e p a r a m e t e r s , o n c e , w h e n y o u l a u n c h t h e a p p l i c a t i o n , s e e h o w t h e y p e r f o r m , s t o p t h e a p p l i c a t i o n , c h a n g e t h e p a r a m e t e r s , a n d f i n a l l y r e s t a r t t h e a p p l i c a t i o n w i t h t h e n e w p a r a m e t e r s .
C o n t r a s t t h o s e s t e p s a g a i n s t w h a t c a n b e d o n e u s i n g a G U I . A G U I e n a b l e s y o u t o m o d i f y t h e s e p a r a m e t e r s i n r e a l - t i m e . Y o u c a n i m m e d i a t e l y g e t f e e d b a c k o n h o w t h e y a r e a f f e c t i n g t h e a l g o r i t h m .
T h e r e a r e S O m a n y A I p r o g r a m s t h a t h a v e b e e n p u b l i s h e d t h a t a r e c o m m a n d - l i n e d r i v e n . T h i s i n i t s e l f i s n ' t a h u g e h u r d l e , b u t i t ' s e n o u g h o f a " p a i n i n t h e a s s " t o t y p e / p a s t e t h e f i l e n a m e y o u w a n t t o c o l o r i z e o n t h e c o m m a n d l i n e , r u n t h e p r o g r a m , t h e n o p e n t h e r e s u l t i n g o u t p u t f i l e i n a f i l e v i e w e r .
G U I s h a v e t h e p o w e r t o c h a n g e t h e u s e r e x p e r i e n c e , t o f i l l t h e " G U I G a p " . W i t h t h i s c o l o r i z e r e x a m p l e , t h e u s e r o n l y n e e d s t o s u p p l y a f o l d e r f u l l o f i m a g e s , a n d t h e n c l i c k o n a n i m a g e t o b o t h c o l o r i z e a n d d i s p l a y t h e r e s u l t .
T h e p r o g r a m / a l g o r i t h m t o d o t h e c o l o r i z a t i o n w a s f r e e l y a v a i l a b l e , r e a d y t o u s e . W h a t w a s m i s s i n g i s t h e e a s e o f u s e t h a t a G U I c o u l d b r i n g .
G r a p h i n g
D i s p l a y i n g a n d i n t e r a c t i n g w i t h d a t a i n a G U I i s s i m p l e w i t h P y S i m p l e G U I . Y o u h a v e s e v e r a l o p t i o n s .
Y o u c a n u s e t h e b u i l t - i n d r a w i n g / g r a p h i n g c a p a b i l i t i e s t o p r o d u c e c u s t o m g r a p h s . T h i s C P U u s a g e m o n i t o r u s e s t h e G r a p h e l e m e n t
M a t p l o t l i b i s a p o p u l a r c h o i c e w i t h P y t h o n u s e r s . P y S i m p l e G U I c a n e n a b l e y o u t o e m b e d M a t p l o t l i b g r a p h s d i r e c t l y i n t o y o u r G U I w i n d o w . Y o u c a n e v e n e m b e d t h e i n t e r a c t i v e c o n t r o l s i n t o y o u r w i n d o w i f y o u w a n t t o r e t a i n t h e M a t p l o t l i b i n t e r a c t i v e f e a t u r e s .
U s i n g P y S i m p l e G U I ' s c o l o r t h e m e s , y o u c a n p r o d u c e g r a p h s t h a t a r e a n o t c h a b o v e d e f a u l t g r a p h s t h a t m o s t p e o p l e c r e a t e i n M a t p l o t l i b .
F r o n t - e n d s
T h e " G U I G a p " m e n t i o n e d e a r l i e r c a n b e e a s i l y s o l v e d u s i n g P y S i m p l e G U I . Y o u d o n ' t e v e n n e e d t o h a v e t h e s o u r c e c o d e t o t h e p r o g r a m y o u w i s h t o a d d a G U I o n t o . A " f r o n t - e n d " G U I i s o n e t h a t c o l l e c t s i n f o r m a t i o n t h a t i s t h e n p a s s e d t o a c o m m a n d - l i n e a p p l i c a t i o n .
F r o n t - e n d G U I s a r e a f a n t a s t i c w a y f o r a p r o g r a m m e r t o d i s t r i b u t e a n a p p l i c a t i o n t h a t u s e r s w e r e r e l u c t a n t t o u s e p r e v i o u s l y b e c a u s e t h e y d i d n ' t f e e l c o m f o r t a b l e u s i n g a c o m m a n d - l i n e i n t e r f a c e . T h e s e G U I s a r e y o u r o n l y c h o i c e f o r c o m m a n d - l i n e p r o g r a m s t h a t y o u d o n ' t h a v e a c c e s s t o t h e s o u r c e c o d e f o r .
T h i s e x a m p l e i s a f r o n t - e n d f o r a p r o g r a m c a l l e d " J u m p C u t t e r " . T h e p a r a m e t e r s a r e c o l l e c t e d v i a t h e G U I , a c o m m a n d - l i n e i s c o n s t r u c t e d u s i n g t h o s e p a r a m e t e r s , a n d t h e n t h e c o m m a n d i s e x e c u t e d w i t h t h e o u t p u t f r o m t h e c o m m a n d - l i n e p r o g r a m b e i n g r o u t e d t o t h e G U I i n t e r f a c e . I n t h i s e x a m p l e , y o u c a n s e e i n y e l l o w t h e c o m m a n d t h a t w a s e x e c u t e d .
R a s p b e r r y P i
B e c a u s e P y S i m p l e G U I i s c o m p a t i b l e b a c k t o P y t h o n 3 . 4 , i t i s c a p a b l e o f c r e a t i n g a G U I f o r y o u r R a s p b e r r y P i p r o j e c t s . I t w o r k s p a r t i c u l a r l y w e l l w h e n p a i r e d w i t h a t o u c h s c r e e n . Y o u c a n a l s o u s e P y S i m p l e G U I W e b t o c o n t r o l y o u r P i i f i t d o e s n ' t h a v e a m o n i t o r a t t a c h e d .
E a s y A c c e s s t o A d v a n c e d F e a t u r e s
B e c a u s e i t ' s v e r y e a s y t o a c c e s s m a n y o f t h e u n d e r l y i n g G U I f r a m e w o r k s ' f e a t u r e s , i t ' s p o s s i b l e t o p i e c e t o g e t h e r c a p a b i l i t i e s t o c r e a t e a p p l i c a t i o n s t h a t l o o k n o t h i n g l i k e t h o s e p r o d u c e d u s i n g t h e G U I f r a m e w o r k d i r e c t l y .
F o r e x a m p l e , i t ' s n o t p o s s i b l e t o c h a n g e t h e c o l o r / l o o k - a n d - f e e l o f a t i t l e b a r u s i n g t k i n t e r o r t h e o t h e r G U I p a c k a g e s , b u t w i t h P y S i m p l e G U I i t ' s e a s y t o c r e a t e w i n d o w s t h a t a p p e a r a s i f t h e y h a v e a c u s t o m t i t l e b a r .
U n b e l i e v a b l y , t h i s w i n d o w i s u s i n g t k i n t e r t o a c h i e v e w h a t a p p e a r s t o b e s o m e t h i n g l i k e a s c r e e n s a v e r .
O n w i n d o w s , t k i n t e r c a n c o m p l e t e l y r e m o v e t h e b a c k g r o u n d f r o m y o u r a p p l i c a t i o n . O n c e a g a i n , P y S i m p l e G U I m a k e s a c c e s s i n g t h e s e c a p a b i l i t i e s t r i v i a l . C r e a t i n g a t r a n s p a r e n t w i n d o w r e q u i r e s a d d i n g a s i n g l e p a r a m e t e r t o t h e c a l l t h a t c r e a t e s y o u r W i n d o w . O n e p a r a m e t e r c h a n g e c a n r e s u l t i n a s i m p l e a p p l i c a t i o n w i t h t h i s e f f e c t :
Y o u c a n i n t e r a c t w i t h e v e r y t h i n g o n y o u r d e s k t o p , c l i c k i n g t h r o u g h a f u l l - s c r e e n w i n d o w .
T h e m e s
T i r e d o f t h e d e f a u l t g r e y G U I s ? P y S i m p l e G U I m a k e s i t t r i v i a l f o r y o u r w i n d o w t o l o o k n i c e b y m a k i n g a s i n g l e c a l l t o t h e t h e m e f u n c t i o n . T h e r e a r e o v e r 1 5 0 d i f f e r e n t c o l o r t h e m e s a v a i l a b l e f o r y o u t o c h o o s e :
W i t h m o s t G U I f r a m e w o r k s , y o u m u s t s p e c i f y t h e c o l o r f o r e v e r y w i d g e t y o u c r e a t e . P y S i m p l e G U I t a k e s t h i s c h o r e f r o m y o u a n d w i l l a u t o m a t i c a l l y c o l o r t h e E l e m e n t s t o m a t c h y o u r c h o s e n t h e m e .
T o u s e a t h e m e , c a l l t h e t h e m e f u n c t i o n w i t h t h e n a m e o f t h e t h e m e b e f o r e c r e a t i n g y o u r w i n d o w . Y o u c a n a d d s p a c e s f o r r e a d a b i l i t y . T o s e t t h e t h e m e t o " D a r k G r e y 9 " :
import PySimpleGUI as sg
sg .theme ('dark grey 9' )
T h i s s i n g l e l i n e o f c o d e c h a n g e s t h e w i n d o w ' s a p p e a r a n c e e n t i r e l y :
T h e t h e m e c h a n g e d c o l o r s o f t h e b a c k g r o u n d , t e x t , i n p u t b a c k g r o u n d , i n p u t t e x t , a n d b u t t o n c o l o r s . I n o t h e r G U I p a c k a g e s , t o c h a n g e c o l o r s c h e m e s l i k e t h i s , y o u w o u l d n e e d t o s p e c i f y t h e c o l o r s o f e a c h w i d g e t i n d i v i d u a l l y , r e q u i r i n g n u m e r o u s c h a n g e s t o y o u r c o d e .
S u p p o r t 💪
Y o u r f i r s t s t o p s h o u l d b e t h e d o c u m e n t a t i o n a n d d e m o p r o g r a m s . I f y o u s t i l l h a v e a q u e s t i o n o r n e e d h e l p . . . n o p r o b l e m . . . h e l p i s a v a i l a b l e t o y o u , a t n o c o s t . S i m p l y f i l e a n I s s u e o n t h e P y S i m p l e G U I G i t H u b r e p o a n d y o u ' l l g e t h e l p .
N e a r l y a l l s o f t w a r e c o m p a n i e s h a v e a f o r m t h a t a c c o m p a n i e s b u g r e p o r t s . I t ' s n o t a b a d t r a d e . . . f i l l i n t h e f o r m , g e t f r e e s o f t w a r e s u p p o r t . T h i s i n f o r m a t i o n h e l p s g e t y o u a n a n s w e r e f f i c i e n t l y .
I n a d d i t i o n t o r e q u e s t i n g i n f o r m a t i o n s u c h a s t h e v e r s i o n n u m b e r s o f P y S i m p l e G U I a n d u n d e r l y i n g G U I f r a m e w o r k s , y o u ' r e a l s o g i v e n a c h e c k l i s t o f i t e m s t h a t m a y h e l p y o u s o l v e y o u r p r o b l e m .
P l e a s e f i l l i n t h e f o r m . I t m a y f e e l p o i n t l e s s t o y o u . I t m a y f e e l p a i n f u l , d e s p i t e i t t a k i n g j u s t a m o m e n t . I t h e l p s g e t y o u a s o l u t i o n f a s t e r . I f i t w a s n ' t u s e f u l a n d n e c e s s a r y i n f o r m a t i o n t o h e l p y o u g e t a s p e e d y r e p l y a n d f i x , y o u w o u l d n ' t b e a s k e d t o f i l l i t o u t . " H e l p m e h e l p y o u " .
S u p p o r t i n g
F i n a n c i a l s u p p o r t f o r t h e p r o j e c t i s g r e a t l y a p p r e c i a t e d . T o b e h o n e s t , f i n a n c i a l h e l p i s n e e d e d . I t ' s e x p e n s i v e j u s t k e e p i n g t h e l i g h t s o n . T h e d o m a i n n a m e r e g i s t r a t i o n s , a l o n g l i s t o f s u b s c r i p t i o n s f o r t h i n g s l i k e T r i n k e t , c o n s u l t i n g h e l p , e t c . , q u i c k l y a d d u p t o a s i z a b l e r e c u r r i n g c o s t .
P y S i m p l e G U I w a s n ' t i n e x p e n s i v e t o c r e a t e . W h i l e a l a b o r o f l o v e , i t w a s v e r y l a b o r i o u s o v e r s e v e r a l y e a r s , a n d q u i t e a b i t w a s i n v e s t e d , a n d c o n t i n u e s t o b e i n v e s t e d , i n c r e a t i n g w h a t y o u s e e t o d a y .
P y S i m p l e G U I h a s a n o p e n - s o u r c e l i c e n s e a n d i t w o u l d b e g r e a t i f i t c o u l d r e m a i n t h a t w a y . I f y o u o r y o u r c o m p a n y ( e s p e c i a l l y i f y o u ' r e u s i n g P y S i m p l e G U I i n a c o m p a n y ) a r e b e n e f i t i n g f i n a n c i a l l y b y u s i n g P y S i m p l e G U I , y o u h a v e t h e c a p a b i l i t y o f e x t e n d i n g t h e l i f e o f t h e p r o j e c t f o r y o u a n d o t h e r u s e r s .
B u y M e A C o f f e e
B u y M e a C o f f e e i s a g r e a t w a y t o p u b l i c l y s u p p o r t d e v e l o p e r s . I t ' s q u i c k , e a s y , a n d y o u r c o n t r i b u t i o n i s r e c o r d e d s o t h a t o t h e r s c a n s e e t h a t y o u ' r e a s u p p o r t e r o f P y S i m p l e G U I . Y o u c a n a l s o c h o o s e t o m a k e y o u r d o n a t i o n p r i v a t e .
G i t H u b S p o n s o r i n g
T h e G i t H u b r e c u r r i n g s p o n s o r s h i p i s h o w y o u c a n s p o n s o r t h e p r o j e c t a t v a r y i n g l e v e l s o f s u p p o r t o n a n o n g o i n g b a s i s . I t ' s h o w m a n y O p e n S o u r c e d e v e l o p e r s a r e a b l e t o r e c e i v e c o r p o r a t e l e v e l s p o n s o r s h i p .
Y o u r h e l p i n f i n a n c i a l l y c o n t r i b u t i n g t o t h e p r o j e c t w o u l d b e g r e a t l y a p p r e c i a t e d . B e i n g a n O p e n S o u r c e d e v e l o p e r i s f i n a n c i a l l y c h a l l e n g i n g . Y o u T u b e v i d e o c r e a t o r s a r e a b l e t o m a k e a l i v i n g c r e a t i n g v i d e o s . I t ' s n o t s o e a s y y e t f o r O p e n S o u r c e d e v e l o p e r s .
T h a n k y o u f o r t h e T h a n k Y o u ' s
T o e v e r y o n e t h a t ' s h e l p e d , i n w h a t e v e r f a s h i o n , I ' m v e r y v e r y g r a t e f u l .
E v e n t a k i n g a m o m e n t t o s a y " t h a n k y o u " h e l p s , a n d a H U G E n u m b e r o f y o u h a v e d o n e t h a t . I t ' s b e e n a n a m a z i n g n u m b e r a c t u a l l y . I v a l u e t h e s e t h a n k s a n d f i n d i n s p i r a t i o n i n t h e w o r d s a l o n e . E v e r y m e s s a g e i s a l i t t l e p u s h f o r w a r d . I t a d d s a l i t t l e b i t o f e n e r g y a n d k e e p s t h e w h o l e p r o j e c t ' s m o m e n t u m . I ' m s o v e r y g r a t e f u l t o e v e r y o n e t h a t ' s h e l p e d i n w h a t e v e r f o r m i t ' s b e e n .
C o n t r i b u t i n g 👷
W h i l e P y S i m p l e G U I i s c u r r e n t l y l i c e n s e d u n d e r a n o p e n - s o u r c e l i c e n s e , t h e p r o j e c t i t s e l f i s s t r u c t u r e d l i k e a p r o p r i e t a r y p r o d u c t . P u l l R e q u e s t s a r e n o t a c c e p t e d .
O n e o f t h e b e s t w a y s f o r y o u t o c o n t r i b u t e c o d e i s t o w r i t e a n d p u b l i s h a p p l i c a t i o n s . U s e r s a r e i n s p i r e d b y s e e i n g w h a t o t h e r u s e r s b u i l d . H e r e ' s a s i m p l e s e t o f s t e p s y o u c a n t a k e - C r e a t e a G i t H u b r e p o , p o s t t h e c o d e , a n d i n c l u d e a s c r e e n s h o t i n y o u r r e p o ' s r e a d m e f i l e . T h e n c o m e b a c k t o t h e P y S i m p l e G U I r e p o a n d p o s t a s c r e e n s h o t i n I s s u e # 1 0 o r i n t h e p r o j e c t ' s W I K I .
I f t h e r e i s a f e a t u r e m i s s i n g t h a t y o u n e e d o r y o u h a v e a n e n h a n c e m e n t t o s u g g e s t , t h e n o p e n a n I s s u e
S p e c i a l T h a n k s 🙏
T h i s v e r s i o n o f t h e P y S i m p l e G U I r e a d m e w o u l d n ' t h a v e c o m e t o g e t h e r w i t h o u t t h e h e l p f r o m @ M 4 c s . H e ' s a f a n t a s t i c d e v e l o p e r a n d h a s b e e n a P y S i m p l e G U I s u p p o r t e r s i n c e t h e p r o j e c t ' s l a u n c h . @ i s r a e l - d r y e r i s a n o t h e r l o n g - t e r m s u p p o r t e r a n d h a s w r i t t e n s e v e r a l P y S i m p l e G U I p r o g r a m s t h a t p u s h e d t h e e n v e l o p e o f t h e p a c k a g e ' s c a p a b i l i t i e s . T h e u n i q u e m i n e s w e e p e r t h a t u s e s a n i m a g e f o r t h e b o a r d w a s c r e a t e d b y I s r a e l . @ j a s o n 9 9 0 4 2 0 s u r p r i s e d m a n y w h e n h e p u b l i s h e d t h e f i r s t c a r d g a m e u s i n g P y S i m p l e G U I t h a t y o u s e e p i c t u r e d a b o v e a s w e l l a s t h e f i r s t m i n e s w e e p e r g a m e m a d e w i t h P y S i m p l e G U I . @ C h r 0 n i c T i s t h e y o u n g e s t d e v e l o p e r I ' v e w o r k e d w i t h , e v e r , o n p r o j e c t s . T h i s k i d s h o c k s m e o n a r e g u l a r b a s i s . A s k f o r a c a p a b i l i t y , s u c h a s t h e P y S i m p l e G U I G i t H u b I s s u e s f o r m e r r o r c h e c k i n g b o t , a n d i t s i m p l y h a p p e n s r e g a r d l e s s o f t h e t e c h n o l o g i e s i n v o l v e d . I ' m f o r t u n a t e t h a t w e w e r e i n t r o d u c e d . S o m e d a y h e ' s g o i n g t o b e w h i s k e d a w a y , b u t u n t i l t h e n w e ' r e a l l b e n e f i t i n g f r o m h i s t a l e n t . T h e J a p a n e s e v e r s i o n o f t h e r e a d m e w a s g r e a t l y i m p r o v e d w i t h h e l p f r o m @ o k a j u n 3 5 . @ n n g o g o l h a s h a d a v e r y l a r g e i m p a c t o n t h e p r o j e c t , a l s o g e t t i n g i n v o l v e d w i t h P y S i m p l e G U I i n t h e f i r s t y e a r o f i n i t i a l r e l e a s e . H e w r o t e a d e s i g n e r , c a m e u p w i t h t h e f a m i l i a r w i n d o w [ k e y ] l o o k u p s y n t a x , w r o t e t h e t o o l s t h a t c r e a t e t h e d o c u m e n t a t i o n , d e s i g n e d t h e f i r s t s e t o f d o c s t r i n g s a s w e l l a s t o o l s t h a t g e n e r a t e t h e o n l i n e d o c u m e n a t i o n u s i n g t h e P y S i m p l e G U I c o d e i t s e l f . P y S i m p l e G U I w o u l d n o t b e w h e r e i t i s t o d a y w e r e i t n o t f o r t h e h e l p o f t h e s e i n d i v i d u a l s .
T h e m o r e t h a n 2 , 2 0 0 G i t H u b r e p o s t h a t u s e P y S i m p l e G U I a r e o w e d a " T h a n k Y o u " a s w e l l , f o r i t i s y o u t h a t h a s b e e n t h e i n s p i r a t i o n t h a t f u e l s t h i s p r o j e c t ' s e n g i n e .
T h e o v e r s e a s u s e r s t h a t p o s t o n T w i t t e r o v e r n i g h t a r e t h e s p a r k t h a t s t a r t s t h e d a y ' s w o r k o n P y S i m p l e G U I . T h e y ' v e b e e n a s o u r c e o f p o s i t i v e e n e r g y t h a t g e t s t h e d e v e l o p m e n t e n g i n e s t a r t e d a n d r e a d y t o r u n e v e r y d a y . A s a t o k e n o f a p p r e c i a t i o n , t h i s r e a d m e f i l e h a s b e e n t r a n s l a t e d i n t o J a p a n e s e .
Y o u ' v e a l l b e e n t h e b e s t u s e r c o m m u n i t y a n O p e n S o u r c e d e v e l o p e r c o u l d h o p e f o r .
© C o p y r i g h t 2 0 2 1 P y S i m p l e G U I
P i n n e d
P y S i m p l e G U I - P h o t o - C o l o r i z e r
P u b l i c
T r a n s f o r m b l a c k a n d w h i t e i m a g e s ( o r y o u r w e b c a m ) i n t o b e a u t i f u l l y c o l o r e d i m a g e s u s i n g D e e p L e a r n i n g . U s e s O p e n C V a n d N u m p y t o C o l o r i z e y o u r p h o t o o r w e b c a m v i d e o . G U I p r o v i d e d b y P y S i m p l e G U I .
P y t h o n
92
18
d d d o m o d o s s o l a / r e m i
P u b l i c
P y t h o n R E M o t e I n t e r f a c e l i b r a r y . P l a t f o r m i n d e p e n d e n t . I n a b o u t 1 0 0 K b y t e s , p e r f e c t f o r y o u r d i e t .
P y t h o n
3 k
3 5 4
P y S i m p l e G U I
P u b l i c
L a u n c h e d i n 2 0 1 8 A c t i v e l y d e v e l o p e d & s u p p o r t e d . S u p p o r t s t k i n t e r , Q t , W x P y t h o n , R e m i ( i n b r o w s e r ) . C r e a t e c u s t o m G U I W i n d o w s s i m p l y , t r i v i a l l y w i t h a f u l l s e t o f w i d g e t s . M u l t i - W i n d o w a p p l i c a t i o n s …
P y t h o n
9 . 2 k
1 . 4 k
P y S i m p l e G U I - C O V I D 1 9
P u b l i c
A c o l l e c t i o n o f P y S i m p l e G U I b a s e d t o o l s t o h e l p a n a l y z e t h e s p r e a d o f t h e C O V I D - 1 9 v i r u s
P y t h o n
64
11
f i r e d m / F i r e D M
P u b l i c
p y t h o n o p e n s o u r c e ( I n t e r n e t D o w n l o a d M a n a g e r ) w i t h m u l t i - c o n n e c t i o n s , h i g h s p e e d e n g i n e , b a s e d o n p y t h o n , L i b C u r l , a n d y o u t u b e _ d l h t t p s : / / g i t h u b . c o m / f i r e d m / F i r e D M
P y t h o n
1 . 4 k
1 6 5
n n g o g o l / a s y n c - d e s k t o p - c h a t
P u b l i c
A s y n c G U I w i t h P y S i m p l e G U I
P y t h o n
10
5
2 , 1 2 9
c o n t r i b u t i o n s
i n t h e l a s t y e a r
J a n
F e b
M a r
A p r
M a y
J u n
J u l
A u g
S e p
O c t
N o v
D e c
J a n
S u n
M o n
T u e
W e d
T h u
F r i
S a t
L e a r n h o w w e c o u n t c o n t r i b u t i o n s
L e s s
M o r e
@ m a t p l o t l i b
@ g n u r a d i o
@ u d s - s e
@ G r o w t h P a t h
@ m l - t o o l i n g
@ t h o n n y
@ E p i c a l a b l e
@ e s s b - m t - s e c t i o n
@ T I S 2 0 2 1 - F M F I
@ P r o j e c t - V U L M A
N o o r g a n i z a t i o n s f o u n d
A c t i v i t y
o v e r v i e w
C o n t r i b u t e d t o
P y S i m p l e G U I / P y S i m p l e G U I ,
P y S i m p l e G U I / D o c s C l e a n u p ,
P y S i m p l e G U I / p s g t e s t
a n d 5 o t h e r
r e p o s i t o r i e s
C o n t r i b u t i o n a c t i v i t y
J a n u a r y 2 0 2 2
C r e a t e d 1 9
c o m m i t s i n
2
r e p o s i t o r i e s
P y S i m p l e G U I / P y S i m p l e G U I
1 7 c o m m i t s
P y S i m p l e G U I / p s g f i g l e t
2 c o m m i t s
O p e n e d 8
p u l l r e q u e s t s i n
1
r e p o s i t o r y
P y S i m p l e G U I / P y S i m p l e G U I
8
m e r g e d
●
A d d e d O p t i o n M e n u t o t h e l i s t o f t k i n t e r W i d g e t s t h a t a r e i g n o r e d f o r …
J a n 7
●
D e v l a t e s t
J a n 6
●
R e l e a s e 4 . 5 6 . 0
J a n 5
●
E n a b l e T e x t c l a s s m e t h o d s t o b e c a l l e d p r i o r t o a n y w i n d o w s b e i n g c r e …
J a n 4
●
R e p l a c e d d o c u m e n t a t i o n b a n n e r
J a n 3
●
A n a d d i t i o n a l l o c a t i o n f o r e x p l a i n i n g h o w E l e m e n t . u p d a t e w o r k s w i t h W …
J a n 1
●
D e s i g n P a t t e r n 2 B - p o i n t o u t t h e u p d a t e c a l l s a r e n o t s h o w n i n t h e w …
J a n 1
●
D o c s t r i n g c h a n g e s f o r a l l E l e m e n t . u p d a t e m e t h o d s t o i n d i c a t e t h a t t h e …
J a n 1
J a n 2
T h a n k y o u s o m u c h f o r i n c l u d i n g a G I F t o y o u r p r o g r a m i n y o u r r e a d m e ! E v e r y o n e l i k e s p i c t u r e s a n d a G I F i s e v e n b e t t e r .
I h a v e a t t i p t h a t y o u m i g h …
4
c o m m e n t s
O p e n e d 6
o t h e r
i s s u e s
i n 5
r e p o s i t o r i e s
P y S i m p l e G U I / P y S i m p l e G U I
2
o p e n
●
[ Q u e s t i o n ] W h y a r e u s e r s w r i t i n g " f r o m P y S i m p l e G U I . P y S i m p l e G U I i m p o r t x x x x x x " ?
J a n 8
●
[ B u g ] M i s s i n g p i p e i n P y S i m p l e G U I W x
J a n 4
D e u s A r e s / a c v 2 x m p
1
o p e n
●
Y o u m a y l i k e t h e P u s h e l e m e n t
J a n 8
S A R D O N Y X - s a r d / S A R D O N Y X - s a r d
1
o p e n
●
💗 y o u r r e a d m e ! W O W !
J a n 8
P e d r o T o r r a d o / R i n g s O f F i r e
1
c l o s e d
●
S c r e e n s h o t ?
J a n 4
p y r a t a r i a / S p o t i p y
1
o p e n
●
A n o t h e r w a y o f w r i t i n g y o u e x i t t e s t
J a n 3
●
2 0 2 2
●
2 0 2 1
●
2 0 2 0
●
2 0 1 9
●
2 0 1 8
●
© 2 0 2 2 G i t H u b , I n c .
● T e r m s
● P r i v a c y
● S e c u r i t y
● S t a t u s
● D o c s
● C o n t a c t G i t H u b
● P r i c i n g
● A P I
● T r a i n i n g
● B l o g
● A b o u t
Y o u c a n ’ t p e r f o r m t h a t a c t i o n a t t h i s t i m e .
Y o u s i g n e d i n w i t h a n o t h e r t a b o r w i n d o w . R e l o a d t o r e f r e s h y o u r s e s s i o n .
Y o u s i g n e d o u t i n a n o t h e r t a b o r w i n d o w . R e l o a d t o r e f r e s h y o u r s e s s i o n .