Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

How can I make the interface of a program w/ Python?

Stupid question, I know. It's just I've learned a lot so far and I'm starting to think my mentor will never get to the part about how to design an interface in Python. People are saying that you can make games in Python, but is that ONLY Python, or a combination of C and Python or something.

Can someone just please explain if eventually, further in my studies, I'll find out how to make the program interface in Python? Or if that's not the case, can someone please tell me what language I'm also going to have to learn to be able to turn my Python program into one with a face?

I'm beginning to think that Python is only meant for how something runs, not how it looks, but I don't know for sure.
There are different options for GUI's in python. People tend to favor C#, and Java for something with a GUI, but it is possible to do in python too.

Some of the more popular libraries are ones such as PyQT5 and Tkinter. I recently designed a few different GUI's using a library called PySimpleGUI that wraps more than one of the existing library! PyGame provides GUI for game making in Python also, although i haven't made any games using Python, i know it exists.

So the answer is yes you can build GUI's in Python
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
Easy to learn but looking shitty - Wxpython

I like PyQT the most but there isn't an official documentation for Python as QT is for C++. There are still plenty of tutorials on the internet.

Kivy - I didn't like them because of their Kivy language which you will most likely need to use if you are making something more complex. Also their documentation is good but still missing a lot of stuff if you ask me.
(Nov 22, 2020 02:25 AM)Harley Quinn Wrote:  There are different options for GUI's in python.  People tend to favor C#, and Java for something with a GUI, but it is possible to do in python too.

Some of the more popular libraries  are ones such as  PyQT5 and Tkinter. I recently designed a few different GUI's using a library called PySimpleGUI that wraps more than one of the existing library! PyGame provides GUI for game making in Python also, although i haven't made any games using Python, i know it exists.

So the answer is yes you can build GUI's in Python
(Nov 22, 2020 06:23 AM)SIM-4378207 Wrote:  Easy to learn but looking shitty - Wxpython

I like PyQT the most but there isn't an official documentation for Python as QT is for C++. There are still plenty of tutorials on the internet.

Kivy - I didn't like them because of their Kivy language which you will most likely need to use if you are making something more complex. Also their documentation is good but still missing a lot of stuff if you ask me.

Thx guys!
DearPyGui is quite easy and looks great. I can't link on this forum yet due to post-count, but the first Google result will be the Github repo.
Pyqt it's easy and gets the job done
When I made GUIs in Python, which hardly ever happened, I used Tkinter, it's been some time though
I would prefer C++ or Java for a GUI application, as compiling Python is a pain in the butt
All my answers/posts are for educational purposes only. I am not in any way responsible for the actions you perform with the acquired knowledge.

[Image: ZjBA6fR.gif]
Well designing a GUI with python isn't that hard, u can use the PyQT library, u ll get a ton of tutorials for that. I have used QT for some basic applications and i can say its pretty fun and easy.
Here are a few with picture examples. SimplePyGUI is my favorite as you can create custom buttons & windows with no titlebar for a more modern look.

PyQt5 (Click to View)
Tkinter (Click to View)
PySimpleGUI (Click to View)
WxPython (Click to View)
If you're trying to code a simpler GUI I recommend Tkinter. It's pretty easy to use and will significantly improve your OOP skills. If you're looking to make a fancy, dynamic interface with cool effects and stuff you should probably just learn C#.
Flexx would also be an option.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by StreetSquirrelOct 25, 2018 02:22 AM 0 104 Oct 25, 2018 02:22 AM
Last Post: StreetSquirrel
[Python] by DrollBeack18100Feb 17, 2018 02:06 AM 6 264 Feb 17, 2018 02:06 AM
Last Post: DrollBeack18100