Can I program GUI application with python? Because playing with console has bored me! | SoloLearn: Learn to code for FREE!

+16

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

About GUI application

6/12/2018 10:03:19 AM

Atajanov Ahun

23 Answers

New Answer

+15

Yes but not on SoloLearn Search about kivy, tkinter, PyQt and wxPython (most populars)

+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

+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.

+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.

+4

which one is perfect for GUI programming PyQt or wxPython ?

+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.

+2

if i can make a gui application with php you can do it with python

+2

You can. If you want to create basic windows with tkinker library.

+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 !

+2

yes i did it KrOW yeah sure would do so. thanks Ali Abbas

+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

+1

In the case that you are interested in PyQt.... search for the anaconda project.... it is free an all batteries included.

+1

Give an glance to Kivy (overall if you want develop on mobile also)

+1

PyQt + QtDesigner is recomended.

+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

+1

Kirk Schafer thanks! that's awesome.

+1

thanks KrOW !!! wasted too much time to find the same solution you have suggested though you have saved more of it.

+1

just trying to do challegs with with Python Gui.

+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/

+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/