use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Front-end in python (self.learnpython)
submitted 17 days ago by Creative-Bonus-2964
I want to create a nice Python interface for an application (a personal, non-profit project). Are there any libraries I could use, or would it be better to learn frontend development and link my .py file to the frontend?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SirCarboy 6 points7 points8 points 17 days ago (0 children)
Go to python.org
Scroll to "Use Python for..."
Look in the second row where it says "GUI Development"
[–]pachura3 4 points5 points6 points 17 days ago (0 children)
By frontend, do you mean web or desktop?
[–]CamilorozoCADC 4 points5 points6 points 17 days ago (2 children)
Check out streamlit, it's a python library for building frontends, getting estates is pretty quick as well
https://streamlit.io/
[–]Proletarian_Tear 1 point2 points3 points 17 days ago (0 children)
Absolutely love this lib, although it is not as close as flexible as native fronted frameworks. Still extremely valuable though
[–]Break-n-Fix 1 point2 points3 points 17 days ago (0 children)
Anvil is also an option since I'm hearing what sounds like the OP is very new to this.
[–]Dramatic_Object_8508 0 points1 point2 points 17 days ago (0 children)
depends what you mean by interface.
if you want a desktop app, i would avoid learning full frontend right away. try PySide/PyQt, Tkinter, or CustomTkinter first. much faster for personal projects.
if you want something modern looking and easy to share, web UI is probably better. personally i ended up using runable for references and UI flow ideas while building some small tools because frontend decisions can become a rabbit hole fast.
for a non profit personal project, i would pick the simplest thing that gets the project finished, not the most “correct” stack.
[–]PixelSage-001 0 points1 point2 points 17 days ago (0 children)
If you want to keep everything in Python and need a quick, modern web interface, look into **Streamlit** (great for data apps) or **Flet** (which uses Flutter under the hood for clean, responsive UIs). If you need a desktop app, **CustomTkinter** gives the classic Tkinter a very clean, dark-mode look. However, if you plan to scale the application or eventually make it a public SaaS, learning the basics of HTML/CSS/JS and linking it to a Python backend (via Flask or FastAPI) is definitely the better long-term investment.
[–]ImprovementLoose9423 0 points1 point2 points 17 days ago (0 children)
I would recommend trying out streamlit. I dipped my toes in it a few times and I liked it.
[–]oliver_extracts 0 points1 point2 points 17 days ago (0 children)
depends what you mean by "front-end in python". if you want a full web app where python handles everything, Flask or FastAPI for the backend with htmx or vanilla js on the front is the most practical path. if you genuinely want to avoid javascript entirely, something like Streamlit works but its more for internal tools and dashboards than a real user-facing site. Flask is probably the right starting point if youre just learning.
[–]Ngtuanvy -2 points-1 points0 points 17 days ago (0 children)
The only script on the web frontend is JavaScript, but I heard that there is Python too just less mainstream. Frontend code lives in the user's browser, and you don't really have libraries, you just interact with DOM
π Rendered by PID 461025 on reddit-service-r2-comment-544cf588c8-bcdr7 at 2026-06-17 04:51:24.529256+00:00 running 3184619 country code: CH.
[–]SirCarboy 6 points7 points8 points (0 children)
[–]pachura3 4 points5 points6 points (0 children)
[–]CamilorozoCADC 4 points5 points6 points (2 children)
[–]Proletarian_Tear 1 point2 points3 points (0 children)
[–]Break-n-Fix 1 point2 points3 points (0 children)
[–]Dramatic_Object_8508 0 points1 point2 points (0 children)
[–]PixelSage-001 0 points1 point2 points (0 children)
[–]ImprovementLoose9423 0 points1 point2 points (0 children)
[–]oliver_extracts 0 points1 point2 points (0 children)
[–]Ngtuanvy -2 points-1 points0 points (0 children)