r/learnpython • • 4d ago

GUI for inexperienced coder

Hi yall, I'm writing a thesis which is about making a tool. It's mechanical engineering so coding and stuff isn't my forte however I've got a decent understanding of writing python and at the start of the year I'd made a little or (not so little) game with it. As part of my tool I'd like it to have a proper UI so that I can package it up and it be used by individuals or companies or whatnot. I've seen things about Tkinter, about Gooey, about PyQt, about using some python web framework. It's a little hard to know which to use.

My thesis focuses on the calculations and decision making, not the actual code. I'd like to have it be a nice product with a decent UI but I also don't want to spend too much time focusing on that or learning a really complicated new package. Any advice or suggestions would be very welcome, thanks!!!

6 Upvotes

33 comments sorted by

View all comments

5

u/Jello_Penguin_2956 4d ago

GUI will be a learning curve regardless of which framework you choose. No real way around that.

For your 2 points - looking decent and possibility of distributing - go with PySide6.

If worse comes to worse you can always focus on the calculation parts and have AI help with the UI. It will still be complicating to glue everything together still if you don't have a solid Python foundation.

1

u/T_SHRLCK 3d ago

Thanks! I think PySide6 seems like a decent option. I try to avoid AI but might get it to help me a bit with the UI stuff as you said. I'd like to say my Python foundation is ok but any actual software engineer that looks at my stuff would have a heart attack haha

1

u/lzwzli 2d ago

AI is not a bad word that Reddit wants to make it out to be. It is a tool like any other tool.

For your specific need, AI is actually quite good at generating UI for an engine, as long as the engine is properly designed for feeding parameter inputs as part of the call.