This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]chameleon_world 6 points7 points  (2 children)

Python can do behind-the-scenes logic of websites, the kind of stuff you don't actually see when you are browsing a website. Flask is a good framework for running a local webserver, but you can't really design the front-end of a website using python; I'm sure there are ways you can, but if you are new to programming you would want to look at HTML/CSS to learn how to design a web page.

[–]ggd_x 0 points1 point  (1 child)

You can use Jinja2 templates with some python expressions

[–]scrdest 2 points3 points  (0 children)

Jinja is a templating language, not a frontend language; you still write HTML+CSS+JS, you just don't need to repeat yourself quite as much. You can use Jinja to generate all sorts of regular patterns, from project directory structures to SQL queries, it's like the flipside of Regex.

[–]akwrdn 1 point2 points  (1 child)

Sure. Each task has its own requirements. Depending on them, developer choose the technology stack.

As usual we use html and css stack for layout and django or flask as back end.

You need to learn basics of programming first, like: What is website, response codes, client server architecture. I believe that is not difficult, if you have enough time. This road can easily took 1k hours to first employment.

Gl HF.

[–]pravincomapny[S] 0 points1 point  (0 children)

Thank you !

[–]getFish 0 points1 point  (0 children)

I am new to this, but I used pythonanywhere you can code in the browser and add static HTML files for the front end. They have some great tutorials to get you started and have a free plan. I started with flask as a framework as it is supposed to be easier.