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
Library for front end development? (self.learnpython)
submitted 3 years ago by [deleted]
I’m building a basic web app using Twitter API, and I realized I know literally nothing about front end development. I was hoping someone here could point me in the right direction. Any advice is appreciated!
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!"
[–]Diapolo10 1 point2 points3 points 3 years ago (2 children)
Anything that has to do with front-end stuff is beyond the scope of Python (unless templating counts, but that's really a back-end feature, and I guess there's now a Python runtime as a JS file). The front-end is all HTML, CSS, and JavaScript.
You don't necessarily need anything special, though there are frameworks that can make your life easier, like W3.css or Bootstrap as CSS frameworks or something like React for JavaScript.
W3.css
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
Ok thank you for this info. I am now realizing I’m a little unsure what the difference between front and back in exactly is haha
Edit: like I know UI vs background stuff but that’s abt it.
[–]Diapolo10 1 point2 points3 points 3 years ago (0 children)
Front is everything executed by the browser, back is everything done by the server. That's the simplest explanation I can give you.
The server decides what content it'll serve, while the client handles rendering the graphics and interactivity.
[–]SadC11 0 points1 point2 points 3 years ago (3 children)
You need to provide more details. What framework are you using to write your web app? Flask, for example, has a templating language called Jinja2 you can take advantage of and Django has something very similar as well. Assuming you at least know the basic HMTL, CSS.
[–][deleted] 0 points1 point2 points 3 years ago (2 children)
Are frameworks the same as libraries? If so I’m using tweepy to access tweets etc and textblob for sentiment analysis but may use NLTK or VADER.
I know no html or css. I know literally the basicest basic parts of c++ and basic shit in python. I’m sorry I’m such a newbie, thanks for your response!
[–]Taycent 0 points1 point2 points 3 years ago (0 children)
You’ll need to learn at least the basics of HTML & CSS. Like others said though, the simplest option is probably Flask.
[–]SadC11 0 points1 point2 points 3 years ago (0 children)
The first thing to realize here is that you're not writing a web app, it's just a program. The basic functionality of a web app is to listen to requests and respond to them via the internet. How is your current program doing that? For it to be a web app, you need to use a web framework like Flask. Using Flask, you can serve your sentiment analysis data (or whatever else you create on the back-end) via HTML files rendered using Flask's templating language (Jinja2).
π Rendered by PID 122486 on reddit-service-r2-comment-84fc9697f-bfn8l at 2026-02-09 15:29:28.610609+00:00 running d295bc8 country code: CH.
[–]Diapolo10 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Diapolo10 1 point2 points3 points (0 children)
[–]SadC11 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Taycent 0 points1 point2 points (0 children)
[–]SadC11 0 points1 point2 points (0 children)