Category: Flask

  • Flask Templates

    In the previous examples, we have returned the simple string as the response from the view function. Although, flask facilitates us to return the response in the form of HTML templates. In this section of the tutorial, we will go through the ways using which we can return the HTML response from the web applications.…

  • Flask HTTP methods

    HTTP is the hypertext transfer protocol which is considered as the foundation of the data transfer in the world wide web. All web frameworks including flask need to provide several HTTP methods for data communication. The methods are given in the following table. SN Method Description 1 GET It is the most common method which…

  • Flask App routing

    App routing is used to map the specific URL with the associated function that is intended to perform some task. It is used to access some particular page like Flask Tutorial in the web application. In our first application, the URL (‘/’) is associated with the home function that returns a particular string displayed on the web…

  • First Flask application

    In this section of the tutorial, we will build our first python website built using the Flask framework. In this process, open any text editor of your choice as we are using the sublime text editor in this tutorial. Write the following lines of code and save to a file named as script.py. Let’s run…

  • Python Flask Tutorial

    Flask Tutorial provides the basic and advanced concepts of the Python Flask framework. Our Flask tutorial is designed for beginners and professionals. Flask is a web framework that provides libraries to build lightweight web applications in python. It is developed by Armin Ronacher who leads an international group of python enthusiasts (POCCO). What is Flask? Flask is…