Web Development Using Flask and Python


 

        How Websites Work - Web                    Development Using Flask and              Python 
               

  1. In this video, I have explained how a basic structure of a website works and how a beginner can get an answer of his "How I can start developing websites" question. This video is a starter for this web development using flask playlist wherein I have explained different operations one can acheive using python flask module. Python flask module comes with a decent documentation but the same can be very difficult and tricky to understand if you are a beginner.
  2. This video breaks down the syntax, concept as well as the best practices of developing web applications using python flask module. Later in this series, we will work with Flask-SQLAlchemy module which will help us to leverage sqlalchemy using flask.
  3. Flask module can also be used as a rest service using jsonify function but in this series we will use flask to create a blog in python. The blog will have all the different parameters configurable which means that anyone can open the config.json file, edit it and make the fork of this blog his own.
  4. In a nut shell, this video is a practical demonstration of how flask works and how any website utilizes its backend to serve http requests.
  5. Creating Our First Flask App - Web Development Using Flask and Python   

  1.      #tut1.py file

        flask import Flask

      app = Flask(__name__)


        @app.route("/")

       def hello():

         return "Hello World!"


        @app.route("/harry")

       def harry():

        return "Hello harry bhai4!"

     app.run(debug=True)











Comments