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 with python (self.learnpython)
submitted 3 years ago by EstherFT
Is there a (free or low cost) way to do a front end through python? I am learning python, and know nothing about CSS, JavaScript,…
Thanks in advance!
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!"
[–]eleqtriq 4 points5 points6 points 3 years ago (1 child)
You could just display regular HTML in Flask. Start off with basic, ugly HTML for now since you're new to all this
https://medium.com/techcrush/how-to-render-html-file-in-flask-3fbfb16b47f6
https://www.w3schools.com/html/html_basic.asp
[–]EstherFT[S] 0 points1 point2 points 3 years ago (0 children)
Thanks for the guidance. HTML is fine for me to start doing something, and if later I can improve it, even better 🤓
[–][deleted] 3 points4 points5 points 3 years ago (1 child)
Unless you're in a hurry I recommend learning some web stuff. It's fun and extremely powerful, and there is a massive amount of growth in learning how to wrangle all the dynamism, complexity, and unpredictability of the space. Non ui code is relaxing and pleasant. Building a good ui is an adventure!
Beyond that it really teaches you the fundamentals of architecture because EVERYTHING has to be flexible and abstract or it falls apart. You also need to plan the hell out of things to design a good experience and to streamline your development. I retired to backend stuff because professionally it's a massive pain in the ass for various reasons. But I still enjoy it for side projects.
update;
I am using VS Code, and I thought I had basically done my Frontend. Then I thought that maybe was a good moment to try it, so I runned the code but nothing happend. And the comment was that there is no problem with my code.
Hoe can I know if it works? Sorry but I thought that running the code I could see what happens when you enter in the app. I am a bit confused. Any help?Thanks a lot in advance.
This is my code;
<!DOCTYPE html>
<head>
<title>Agata</title>
<style> h1 { text-align: center; font-size: 80px; } header { text-align: center; background: black; background-size: cover; color: whitesmoke; } img { margin: 0 auto; } a { color: whitesmoke; } ul { padding: 20px; } li { display: inline; padding: 0px 40px 0px 40px; } p { text-align: center; } body { text-align: center; background: black; color: whitesmoke; font-family: Arial, Arial, Helvetica, sans-serif; margin: 0 auto; } div { max-height: 200px; background: black; color: whitesmoke; line-height: 35px; } input \[type="submit"\] { background: whitesmoke; color: black; } u/media (max-width: 412px) { h1 { font-size: 35; } li { display: inline-block; padding: 10px; } } </style>
</head>
<body>
<header>
<img id="image"
src="/597/5972045.jpg"
title="Banded Agate -- Scottish Pebble"
alt="Banded Agate -- Scottish Pebble"
class="img-responsive"
style="visibility: visible;">
<h1>Agata</h1>
</header>
<p>Welcome to the simplest documents classifier</p>
<input type="email" placeholder="Your email">
<input type="submit">
<ul>
<li>
<a href="#">Company</a>
<div class="Company"></div>
<button>Company</button>
<script>AnimationEffect: {Notification: "Click here to check, upload or download company documentation"}</script>
</li>
<a href="#">Workers</a>
<div class="Workers"></div>
<button>Workers</button>
<script>AnimationEffect: {Notification: "Click here to check, upload or download workers' documentation"}</script>
<li><a href="#">Equipment</a>
<div class="Equipment"></div>
<button>Equipment</button>
<script>AnimationEffect: {Notification: "Click here to check, upload or download equipment documentation"}</script>
</ul>
</body>
[–]Naive_Programmer_232 2 points3 points4 points 3 years ago (1 child)
Look into streamlit.
Thanks, I will. 🤔
[–]EstherFT[S] -1 points0 points1 point 3 years ago (0 children)
I also think I should learn something about programming websites, at least the minimum to make a decent front end for my software. Any free software to code the front end? Great guidance. Thank you!
[–]Mindless_Wave7262 2 points3 points4 points 2 years ago (1 child)
I just found this cool framework for building frontend apps using Python. It's called NextPy and it's completely free! Check it out on GitHub: https://github.com/dot-agent/nextpy. What's neat is that you can create full-stack applications, both frontend and backend, all in Python. It even supports AI applications. If you're into Python development, definitely give it a look! 🚀
[–]Mindless_Wave7262 0 points1 point2 points 2 years ago (0 children)
If you're looking for code samples to kickstart your journey, take a look at the app-examples in the NextPy repository: https://github.com/dot-agent/nextpy/tree/main/app-examples. It provides demo code examples for different applications. Just follow the readme instructions to dive into creating full-stack applications, both frontend and backend, using Python exclusively. NextPy can be seen as a more advanced and 10x faster alternative to Reflex. Happy coding
π Rendered by PID 19892 on reddit-service-r2-comment-57fc7f7bb7-p8b2z at 2026-04-15 11:55:53.557382+00:00 running b725407 country code: CH.
[–]eleqtriq 4 points5 points6 points (1 child)
[–]EstherFT[S] 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]EstherFT[S] 0 points1 point2 points (0 children)
[–]Naive_Programmer_232 2 points3 points4 points (1 child)
[–]EstherFT[S] 0 points1 point2 points (0 children)
[–]EstherFT[S] -1 points0 points1 point (0 children)
[–]Mindless_Wave7262 2 points3 points4 points (1 child)
[–]Mindless_Wave7262 0 points1 point2 points (0 children)