DO NOT DEAL WITH THIS MEMBER
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.
DO NOT DEAL WITH THIS MEMBER
Nov 22, 2020 10:37 AM
(This post was last modified: Nov 22, 2020 10:38 AM by - Cancer.)
(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.
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.
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.
|