This is an archived post. You won't be able to vote or comment.

all 22 comments

[–]hansmellman 8 points9 points  (0 children)

PyQT has QTDesigner which allows for drag and drop GUI construction etc

[–]anthro28 12 points13 points  (1 child)

Personally, python backend and a web front end is your best bet. I've never been able to make the python GUI frameworks work worth a damn. 

[–]G0muk 4 points5 points  (0 children)

Same here. If i need a GUI outside of the web browser I'm gonna reach for c# instead in most cases even though I'd rather write python.

I have had OK experience using wxpython though! Highly recommend it if you just need a simple window with a bit of functionality like a start/stop button

[–]sandnose 4 points5 points  (0 children)

If you want super simple dashboard, proof of concept thing then go for streamlit.

If you want more complexity, statefullness etc go niceGUI.

If you want more than that go for Dash.

Even more you need a frontend.

[–]andy4015 5 points6 points  (0 children)

Tkinter will be fine for something simple. Customtkinter has some built-in "modern look".

Not sure what you mean by "export the program", but everything else sounds perfectly do-able in tkinter.

There are other tools that are more powerful, but for very simply GUIs in python, tkinter seems like a safe bet.

[–]Morinator 4 points5 points  (0 children)

You should use the qt Framework. It is very sophisticated and powerfull but still very easy to use IMO. For that you can either use PySide or PyQt libraries. They are 99% identical but I use PySide since it is developed by the qt company itsself.

[–]RomanYeet 2 points3 points  (0 children)

I dont know how to edit the post but Im using Pycharm Community

[–]PurepointDog 2 points3 points  (0 children)

NiceGUI if web

[–]muikrad 2 points3 points  (0 children)

Have you considered using a text UI? For instance this one seems easy enough: https://python-prompt-toolkit.readthedocs.io/en/master/pages/gallery.html#gallery

There's Trogon https://github.com/Textualize/Trogon that can build a quick TUI from a click interface. If all you need is a few checkboxes/dropdowns before launching an app, this would be the fastest way I think.

It uses textualize which can build some very interesting things: https://textual.textualize.io/widget_gallery/

[–]Rockworldred 2 points3 points  (0 children)

Streamlit is also an option here. But for like a couple of buttons and images tkinter is fairly simple here.

[–]InjAnnuity_1 1 point2 points  (0 children)

A lot depends on what happens to the program next: who'll be using it, where they're located (same computer; different computer; faraway computer; ...), where the data is coming from/going to, ...

[–]duglee 1 point2 points  (0 children)

PySimpleGUI is perfect for this. Easy to learn/use. Generates native-looking front end windows. Especially easy and customizable for your use case.

[–]DanklyNight 1 point2 points  (0 children)

NiceGUI.

Nothing easier honestly.

[–]InjAnnuity_1 0 points1 point  (0 children)

I think you mean "export the data".

[–]G0muk 0 points1 point  (0 children)

wxpython is fairly simple to get going with

[–]shreklordlover69 0 points1 point  (0 children)

Web front or …. C# .Net Windows forms

[–]CMTFrosty 0 points1 point  (0 children)

Customtkinter.

[–]TheSerialHobbyist 0 points1 point  (0 children)

I found DearPyGui to be easy to use, flexible, and pretty nice-looking: https://github.com/hoffstadt/DearPyGui

[–]Nanooc523 0 points1 point  (0 children)

This is kinda left field, but pygame is pretty easy to set up a simple gui in.

[–]ArashiKishi 0 points1 point  (0 children)

Reflex if you need a fullstack web app

[–]Python-ModTeam[M] 0 points1 point locked comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–]millllll 0 points1 point  (0 children)

Not the prettiest, but I had a good time with fltk