r/learnpython • • Oct 13 '26

GUI for inexperienced coder

4 Upvotes

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

r/learnpython • • 16d ago

Beginner Python Coder, Which Language For A GUI?

0 Upvotes

Hey all, background is as such:

For a non-Python CS course, I'm supposed to be designing the UI for an offline app. It's supposed to be a notepad app, the kind where you make sticky notes and post them on a board, with multiple people designing different aspects.

The impasse is that, while we've all agreed to do the backend of the app in python, I don't know how to make the front end at all. I'm familiar with HTML, CSS, and Javascript, I thought the process of connecting some backend Python to a front-end of HTML+CSS would be the same as with JavaScript, but apparently it isn't.

Googling around and asking AI, I get recommended libraries and languages like Pyside6, Ttinker, PyQt, Django, and others -- but I've never worked with any of them, and while I've tried to play with Pyside6 and Ttinker for a week now, I could only figure out how to make static notes and shapes, I couldn't figure out dragging and moving like you can with JS listeners. I feel frustration because you can find apps like this all over the place, 5 seconds of googling and you can find one, but I don't know how to make it.

So help me out -- if someone wants to make a GUI, where you have a pretty backboard, put notes on it, click notes, write on them, upload pictures to them, drag them around a board, and you must use Python as the back end, how do you marry the front and back end together?

Edit: Thank you all, I've settled on PySide6 and PyQt. I've just got the hang of making basic buttons, using setGeometry to move their starting locations, having them spawn blank 'note' widgets, and dragging them around. Being able to pin text and images to these widgets will come next, but for now, it works!

r/learnpython • • Aug 25 '26

GUI implementation

3 Upvotes

I’m coding a restaurant type game and need to create a gui but have completely no idea how to do it. People have said godot is decent and that wxpython is decent for smaller stuff but i have no idea how to use either. Someone with a good amount of experience with either who could help would be great. Thank you

r/learnpython • • Oct 23 '26

GUI framework for a little software project for school

6 Upvotes

Hi!
I (an old-ish person) went back to uni, and for an assignment I have to - over the course of a couple of months - do a mock software project. With my professor I decided on a (desktop) program that reads (different) text files, analyzes them using different criteria, highlights potentially problematic parts (e.g. sentences that are very long), and also uses a traffic light system. It should be possible to assess the text using only one criterion, several of them, or all of them. Since my programming knowledge is limited (and I refuse to let agentic AI do everything, even though we are allowed to use it - but I want to learn something and understand!), I am not required to implement a huge back-end with web servers, databases and the like (luckily, since my database and SQL knowledge is rusty, although I took a fundamental class on it years ago). However, a GUI is absolutely required. So far, I have a bit of a CLI program that reads text and compares texts. It's not much, but it's honest code...

My professor said I am free to choose whatever GUI framework, as long as it is a fitting one...and I am a bit overwhelmed. I have only used tkinter in the past - a little bit. The looks felt a bit "outdated", and I am not sure how nice, e.g., a traffic light system would look if created using it. I know there are many other GUI frameworks, but I am a bit intimidated by their steep learning curves.

More on my background: Of course, a web app would also be a possibility (in spite of me trying to avoid the back-end stuff), but I don't know much about web development, nor have I ever used Flask (except for some tiny Docker demos) or Django and the like. In the past, I used Python mainly for Data Analysis and a bit of Data Science, while I learned writing little CLI programs using Java and C. Also, years ago, I learned about Javascript, HTML/CSS, PHP, node.JS and Express, and a bit of PHP; I also took a class on PWAs (written mainly in Javascript, using Lit and Ionic), which of course resulted in (mobile) apps with a GUI. But all of this is not the Python project my professor and I talked about.

Do you have any suggestions for me concerning Python GUI frameworks or approaches that feel "intuitive" to learn (of course, I am willing to invest in learning - but if the learning curve is too steep, I might just not be able to "get it")? Or is the web app route THE way to go?

Thanks in advance!

r/learnpython • • Oct 04 '26

Portable GUI in Python

0 Upvotes

Hi! I don't know Python, and I'm wondering if I can create a portable GUI inside a single folder. For example, I want to have my own MyCustomGUI.exe in a folder, and right next to it, the following subfolders:
_internal
bgutil-ytdlp-pot-provider-master
yt-dlp-plugins
along with five .exe files:
deno.exe
ffmpeg.exe
ffprobe.exe
yt-dlp.exe

Is it possible to write Python code that makes all of this work and keeps it completely portable?

To be honest, I've been trying to do this for three days straight without knowing anything about programming. Once, I even managed to run a compiled .exe inside the folder, but as soon as I copied it to another drive, everything completely broke down.
Yeah, maybe it's my fault for trying to use the free versions of ChatGPT and Gemini, but I really thought that creating something as basic as a GUI would only take about 20 to 30 minutes. I'm actually in despair right now; I haven't felt this awful in a very long time.

r/learnpython • • Jul 01 '26

Streamlit vs niceGUI vs Reflex

5 Upvotes

Hello, I would like to know which is better for a particular activity. I want to do a dashboard type where I can manage people, assign activities, progress to their activities and make a leaderboard of which person is working best. More than anything, he is an activity manager for 20 people. I have seen that they say that NiceGUI is a good tool but I do not see it like this, I have already worked with streamlit and I know that I could do something similar to what I want but it has also happened to me that in streamlit when the application becomes a little complex it is chaos and I do not know anything about reflex but what I have seen looks good, they say that the disadvantages it has is a new technology.

r/learnpython • • Oct 25 '26

how to i make a gui fit to screen with tkinter ?

3 Upvotes

i made a gui for a 520x380 window using tkinter but when i change windows size gui just stays the same size

r/learnpython • • Oct 11 '26

How can i do an animated gui

3 Upvotes

So, I want to make a program that allows me to view and control various things on my PC, and I have the idea of integrating an animated GUI with animations like: ease in and out, linear, exponential And more. And I still haven't found a library that does that.

Is there anything similar, or will I have to look for another way?

r/learnpython • • Mar 24 '26

What gui/frontend tool to use?

0 Upvotes

Hello i have a question, I need to make a simple inventory system for my family's drugstore/pharmacy and i want it to be very simple. Im thinking there should be a way to do CRUD for inventory, as well as inputting transactions manually since we do not have hardware to do barcode and all that, but who knows we might implement it? Also for storage/data management I plan to use both local and internet storage (cloud maybe) where the data should be stored in google sheets. For local maybe sql but i am not sure yet. I plan to make it a window application and what tech stack is suitable for this? I know python and java but im not sure what language to use for both frontend. And im doing this project solo and i wish to deploy asap (agile).

What GUI is good to use for my windowed app? Is it widely used in the industry today?

r/learnpython • • May 13 '26

Creating a "Hand-Written" GUI?

11 Upvotes

I'm an artist as well as a programming student. I have been looking online for any ideas about this, but it feels like search engines just aren't giving me what i'm looking for.

I am wondering if anybody has any experience or suggestions on how to create a GUI with a more hand-drawn or even painterly style. I have been wanting to design a simple program, probably a calculator, as a personal project (not related to school at all) using my own (digitally) handwritten typeface and lines. Is this even possible? What is the next best thing if not? I'm just looking for a way to incorporate a more personal style into the UI of a simple program. Thanks !

r/learnpython • • May 27 '26

Best modern alternative to Tkinter for Windows GUIs?

34 Upvotes

I've been using Tkinter to build graphical user interfaces for Windows, but honestly, it just looks too outdated and old-fashioned for what I want.

What is currently the best way or framework to create modern-looking Windows GUIs? I'm open to suggestions, whether they are Python-based or involve switching to another language if it's worth it.

Thanks in advance!

r/learnpython • • May 02 '26

What is the best way to learn Python GUI automation?

14 Upvotes

What is the best way to learn Python GUI automation?

(Graphical User Interface)

r/learnpython • • Oct 07 '26

Gui question for projects

4 Upvotes

I am learning python for a month or so and finally decided to challenge myself by trying to make a minesweeper game as a project.

I wanted to ask you guys if i should use tinker for gui as it is python based or is there a better one i should rather study?

r/learnpython • • Feb 23 '25

Is building a GUI always going to be THIS painful?

163 Upvotes

I have been programming in Python for about 2 years know, I've gotten pretty comfortable with the language and I almost always find it a joy to work with. EXCEPT when trying to make a GUI.

I've tried on several occasions now to develop a GUI using both tkinter and CustomTkinter. My experience has been pure pain. It has been super confusing and the docs will tell me one thing and then I'll try it exactly how they say and it doesn't work. I definitely am still in the learning process when it comes to developing a graphical interface, but my question is, does everyone else find building a GUI in python to be this painful? Are the other libraries out there any better or are there other tools that make GUI development easier? Because I am almost in disbelief at how unbelievably annoying and overwhelming it feels for me to try to implement a GUI that is anything beyond the simplest possible, to any program I write.

r/learnpython • • Oct 11 '25

What's better for creating a GUI application?

51 Upvotes

I'm wondering if I should learn tkinter or any other python gui libraries or use visual studio instead. which is better?

edit: in case if people are wondering: im referring to Visual Studio, not visual studio code.

r/learnpython • • Aug 31 '25

Which GUI library is the best in Python?

37 Upvotes

I'm a Python beginner and have just finished watching the basic tutorials on Youtube. I'm hoping to learn a GUI library and would like some advice. Should I learn Tkinter?

r/learnpython • • Jun 28 '24

Is it practical to use GUI's like Tkinter in my projects, or should I just suck it up and learn Web Dev?

59 Upvotes

Sorry if this question seems stupid, but I don't have anyone else to ask.

I will shortly work on some personal python projects because I was stuck in tutorial hell, and I would like them to have a GUI. I find that most tutorials use libraries like Tkinter or Pyside and I have used them too, but is this actually what is used in the real world, or are these just training wheels?

If I'm ever to include these projects in my portfolio or show them to others is it better if I just create them as a web application to be more professional? The reason I don't want to make it into a web application is that I dislike using HTML, CSS, and Flask. I just find it too cluttering to think of all these different aspects of web development when my goal is to just be a better programmer or think more logically. However, Tkinter feels too kid friendly and I'm not sure if the courses just use them for that reason.

For example, I am currently working on doing a typing speed test.

Any advice is appreciated :)

r/learnpython • • Feb 22 '26

Streamlit vs. NiceGUI

7 Upvotes

I am learning Streamlit and experimenting with NiceGUI a bit. Undecided in which to invest my efforts. Both are very easy to use, with Streamlit having the advantage of a free cloud for publishing apps, but I feel it is somewhat more limited in scope.

Which do you recommend I use?

Eventual use case is GUI for data analysis/data science with a data-driven choose-your-own-adventure game engine, a sales analysis program (from CSV sales reports I have), and an expense tracker as learning projects

r/learnpython • • Oct 20 '24

Which is the best library for GUI for Python??

45 Upvotes

which library is better PYQT5, flet, Kivymd or integrating flutter for integrating realtime object recognition, i dont care about the coding

r/learnpython • • Jun 17 '24

which GUI is good

71 Upvotes

I am mainly working with text-based input/output so which gui would be best to work with?

r/learnpython • • Jul 29 '25

PyQt6 Is Draining Me — Why Is GUI Layout So Painful?

31 Upvotes

I’ve been working with PyQt6 to build a clean, intuitive GUI for housing data. All I want is consistent spacing: align labels, make margins predictable, have control over layout geometry. But Qt6 seems to fight me every step of the way.

Things that should be simple — like adding external padding to QLabel — are either broken or absurdly convoluted. HTML styles like padding don’t work, setContentsMargins() only works under strict layout conditions, and wrapper layouts feel like duct tape around missing behavior.

I’ve lost hours today trying to position one label correctly. I get that Qt is powerful, but how is it this fragile? Is anyone else using PyQt6 facing this — or am I missing the one golden pattern that makes layout feel sane again?

Open to ideas, workarounds, or just fellow survivors.

from PyQt6.QtWidgets import QApplication, QWidget, QLabel, QVBoxLayout

app = QApplication([])

# basic window and layout

win = QWidget()

layout = QVBoxLayout()

win.setLayout(layout)

# doesn't work – HTML padding ignored

label_html = QLabel("<span style='font-size:16px; padding:10px;'>Housing Type</span>")

layout.addWidget(label_html)

# looks fine, but margins don't affect layout spacing externally

label_clean = QLabel("Housing Type")

label_clean.setStyleSheet("font-size:16px; font-weight:bold;")

label_clean.setContentsMargins(20, 20, 20, 20)

layout.addWidget(label_clean)

# only real solution — wrap in container layout with margins

wrapper = QWidget()

wrapper_layout = QVBoxLayout(wrapper)

wrapper_layout.setContentsMargins(20, 20, 20, 20)

wrapper_layout.addWidget(QLabel("Housing Type"))

layout.addWidget(wrapper)

win.show()

app.exec()

r/learnpython • • Feb 20 '24

What python GUIs do you recommend?

111 Upvotes

Hi all! With the recent planned 'sunset' of pySimpleGUI 4 and questionable license for psg 5 which GUI library do you recommend? About my work: I'm a scientist in a field on nanophysics and I have to put many graphs into my programs and prefer GUI building to be the lesser problem;)

Upd: I worked for a year or so with psg but now want to move

Upd2: Big thanks to all of you for the suggestions! If anyone curious, I settled with DearPyGUI as it seems to meet all my needs and isn't (sorry) web-based.

Upd3: Their digital signature is so broken, it required like 30 minutes to tamper their code LOL

r/learnpython • • Apr 17 '22

What's a good Python Gui framework to learn worth my time ?

187 Upvotes

I need to learn how to do Gui's in Python, I still haven't chosen which framework as i'm looking for a relevant framework for guis to learn.

r/learnpython • • Oct 23 '25

How often do you use GUI libraries?

20 Upvotes

Do you use it for work?

And when you do, what's the standard library that everyone uses?

r/learnpython • • Aug 19 '25

Best gui for python?

0 Upvotes

Pyside, tkinter, or something else?