+ 16

Can I program GUI application with python? Because playing with console has bored me!

About GUI application

12th Jun 2018, 10:03 AM
Atajanov Ahun
Atajanov Ahun - avatar
23 Réponses
+ 15
Yes but not on SoloLearn Search about kivy, tkinter, PyQt and wxPython (most populars)
12th Jun 2018, 11:11 AM
KrOW
KrOW - avatar
+ 9
[meta/indirect] trinket.io provides a way to embed Python in the browser, useful for interactive demos, like [try it yourself], e.g.: Python Turtle https://code.sololearn.com/WTj6PC3737Cd/?ref=app VPython for in-browser 3D (requires WebGL-compatible mobile view) https://code.sololearn.com/W0ylF4Cfp6K1/?ref=app
13th Jun 2018, 4:41 AM
Kirk Schafer
Kirk Schafer - avatar
+ 6
Absolutely yes. You should try to learn tkinter if you need to make a simple function app. For basic 2D games, you should learn pygame modules. There are no instructions for GUI on sololearn but there are lots of useful tutorials on YouTube.
12th Jun 2018, 1:02 PM
Edward Ji
Edward Ji - avatar
+ 4
Tkinter usually ships with Python, but it is a bit limited. For desktop apps wxPython or PyQT provide the usual look and feel of standard applications. Kivy is suitable for mobile applications.
12th Jun 2018, 1:02 PM
Christoph
Christoph - avatar
+ 4
which one is perfect for GUI programming PyQt or wxPython ?
12th Jun 2018, 2:13 PM
Atajanov Ahun
Atajanov Ahun - avatar
+ 4
I suggest that you learn PyQt. It offers advanced windows and an IDE where you can create the GUI visually (drag and drop) and then turn it into python script file. Search for PyQt and QtCreator. On youtube, sentdex has some very good introductory videos.
12th Jun 2018, 6:26 PM
Nboumakis
+ 2
if i can make a gui application with php you can do it with python
12th Jun 2018, 10:07 AM
Lexfuturorum
Lexfuturorum - avatar
+ 2
You can. If you want to create basic windows with tkinker library.
12th Jun 2018, 11:03 AM
f3d0rov
f3d0rov - avatar
+ 2
I strongly recommend you to go for "introduction to programming in Python" by Robert Sedgwick, it's a very detailed book which takes you from console based programs to GUI programming, has loads of projects, you can work on..They even provide you with some of their own modules like stddio and stddraw !
14th Jun 2018, 6:53 AM
Ali Abbas
Ali Abbas - avatar
+ 2
yes i did it KrOW yeah sure would do so. thanks Ali Abbas
14th Jun 2018, 6:55 AM
Saumya Sharma
Saumya Sharma - avatar
+ 1
if you want to make a GUI App on macOS then PyObjc is a choice. You can also use Glade (Interface Designer for Gtk) and Gtk on macOS. Gtk and Glade are more Linux centric. With PyObjC, for example, is is also possible to create AppStore Ready Standalone Applications. hope that helps
12th Jun 2018, 3:52 PM
Michael Staatz
Michael Staatz - avatar
+ 1
In the case that you are interested in PyQt.... search for the anaconda project.... it is free an all batteries included.
12th Jun 2018, 6:29 PM
Michael Staatz
Michael Staatz - avatar
+ 1
Give an glance to Kivy (overall if you want develop on mobile also)
12th Jun 2018, 7:42 PM
KrOW
KrOW - avatar
+ 1
PyQt + QtDesigner is recomended.
13th Jun 2018, 1:26 AM
A.M. Wibawa
A.M. Wibawa - avatar
+ 1
Download the latest Anaconda Distribution search for the Designer.exe in its lib path it is a GUI app to generate a .ui file which you can convert to .py then use qypt5 to add functionalities
13th Jun 2018, 4:20 AM
Deen Lu
Deen Lu - avatar
+ 1
Kirk Schafer thanks! that's awesome.
13th Jun 2018, 4:46 AM
Deen Lu
Deen Lu - avatar
+ 1
thanks KrOW !!! wasted too much time to find the same solution you have suggested though you have saved more of it.
13th Jun 2018, 5:42 PM
Saumya Sharma
Saumya Sharma - avatar
+ 1
just trying to do challegs with with Python Gui.
13th Jun 2018, 6:10 PM
Saumya Sharma
Saumya Sharma - avatar
+ 1
Absolutely! I'd recommend using PyQt as you can build much more complex application with it than for example Tkinter. I don't think there is anything on SoloLearn yet, but I have tutorials here if you are interested: https://www.learnpyqt.com/
6th Jun 2019, 8:57 AM
Martin Fitzpatrick
Martin Fitzpatrick - avatar
+ 1
I can also recommend PyQt... when this is a problem with the License then have a look at PySide2... This is from qt it self. Good book and tutorial at https://build-system.fman.io/
29th Jun 2019, 8:37 PM
Michael Staatz
Michael Staatz - avatar