code -r .
Here is what the above code is Doing:
1. We’re importing the Flask class. An instance of this class will be our WSGI application.
2. We’re creating the WSGI application object (app) by passing __name__ argument to the Flask class.
3. We then use the route() decorator to tell Flask what URL should trigger our function.
4. The function is given a name which is also used to generate URLs for that particular function, and returns the message we want to display in the user’s browser.