0

How can i start working on GUI based programs ..All i do learning is of CUI type in python 3?

I have been learning python and all i can do is CUI based program . I want to work on GUI type. What will be best wsy to get in making ?

6th Sep 2019, 9:36 AM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar
5 odpowiedzi
+ 2
tkinter sfml pygame
6th Sep 2019, 9:47 AM
Gordon
Gordon - avatar
+ 1
I posted a simillar question, round about 1 year ago. For me I got it with small programms at the beginning. Than greater. Try to build a root window. Try to build a Label in the root window. Try to build a Entry in the root window. Try to build a Button a in the root window. Try to build a label, a entry and a button in the root window. Try to connect the butzon with a command. Try to get the input of the Entry to proceed with the Button. Practise. Then you are able to write every Python programm with GUI. If you need a start project, take my. A telephone- book. Its a dictionary t_numbers = { "Sam" : "123456", "Sara" : "1122334", "Pablo E." : "777888999" } user_input = dict_key we need the get() method to get the right number. So t_numbers.get(dict_key, "number not in data") But what we do now??? the input method dont work, bc its console. We need a Entry on a root window. Maybe ther is a label with the text: insert name. There will be a Button, named "Get number!" The Button is connec
11th Sep 2019, 11:04 AM
Sven_m
Sven_m - avatar
+ 1
Ted with a command. the get() thing. And we musst show it. But where We could add the creation of a new Label to the get() statement. And so on. If you are struggel, feel free to write me a message. Have fun :) edit: yes SL teach you the basics. Now you have to search in the internet how tkinter works.
11th Sep 2019, 11:06 AM
Sven_m
Sven_m - avatar
+ 1
Thanks a lot. Sven_m :)
11th Sep 2019, 12:05 PM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar
0
Tq
6th Sep 2019, 9:48 AM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar