In our previous Python tutorial, we have explained how to Create REST API in Python. In this tutorial, we will explain how to develop your first web application in Python.
In Python, there are many frameworks such as Django
, Flask
which allows to easily create web pages and develop web applications.
In this tutorial, we will use Flask
framework to develop our first web application in Python. The Flask
is a popular micro web framework written in Python that provides useful tools and features to easily develop web applications. It is an easy to use and gives flexibility to new developers.
The Flask
frameworks uses the Jinja2
template engine by default. You can obviously use a different template engine but you still have to install Jinja2
to run Flask itself.
In this tutorial, we will develop a web application that a user form with input field and a submit to submit form and dispay form submitted values.
(more…)