Skip to main content


Showing posts from 2019

[Flask]Hello World in Flask

Flask, a web framework built by a group of Python enthusiasts in 2004, is one very good framework for beginners to understand basics of full stack development. It provides something called 'template inheritence' which gives almost of flexibility needed for front end section. As for backend, you can manage all operations using Python's well defined functions which are easy as hell to understand. In this tutorial we will take a look at how to build a small Hello World application using Flask. If you are the type who cannot wait to start coding, the source code will be provided at the end of the article. You can grab it and take a look first. Step 1: To start, create a folder and name it HelloWorld. You can name it whatever you want to, but for simplicity, I will name it HelloWorld. Step 2: Change directory to the newly created folder and create '' file. This will be our python script in which we will write the server to run our app on localhost. app.