Integrating HTML With FLASK Web Framework With HTTP VERBS(Get And POST)

Sdílet
Vložit
  • čas přidán 10. 06. 2021
  • github.com/krishnaik06/Flask-...
    Flask is a web application framework written in Python. It is developed by Armin Ronacher, who leads an international group of Python enthusiasts named Pocco. Flask is based on the Werkzeug WSGI toolkit and Jinja2 template engine. Both are Pocco projects.
    We at iNeuron are happy to announce multiple series of courses. Finally we are covering Big Data,
    Cloud,AWS,AIops,Business Analytics and MLops. Check out the syllabus below.
    30 Days Data Science Interview preparation - rb.gy/q1c58g
    Big Data Master-rb.gy/xg1ob7
    Business analytics-rb.gy/herdd8
    Aws Cloud Masters- rb.gy/x5poyj
    AI OPS- rb.gy/kionj6
    Please note the duration of the batch will be upto 4-5 months. All the sessions will be live and the recording will be available.
    To find more info regarding the course please go through the courses.
    You can fill the below form to reserve your seats
    ineuron1.viewpage.co/30daysin...
    Incase of any queries you can contact the below number. Happy Learning!!
    8788503778
    6260726925
    9538303385
    8660034247
    9880055539

Komentáře • 44

  • @krishnaik06
    @krishnaik06  Před 3 lety +9

    We at iNeuron are happy to announce multiple series of courses. Finally we are covering Big Data,
    Cloud,AWS,AIops,Business Analytics and MLops. Check out the syllabus below.

    30 Days Data Science Interview preparation - rb.gy/q1c58g
    Big Data Master-rb.gy/xg1ob7
    Business analytics-rb.gy/herdd8
    Aws Cloud Masters- rb.gy/x5poyj
    AI OPS- rb.gy/kionj6
    Please note the duration of the batch will be upto 4-5 months. All the sessions will be live and the recording will be available.
    To find more info regarding the course please go through the courses.
    You can fill the below form to reserve your seats
    ineuron1.viewpage.co/30daysinterviewDS
    Incase of any queries you can contact the below number. Happy Learning!!
    8788503778
    6260726925
    9538303385
    8660034247
    9880055539

  • @RuneshkrishnaMurugesh
    @RuneshkrishnaMurugesh Před 3 lety +6

    Its nice to watch your videos. There are at times when you make small mistakes and try to fix it. In a way these are the exact issues a newbie would encounter so its like your helping with the troubleshoot too. :)

  • @VP_SOTWMC
    @VP_SOTWMC Před 2 lety +1

    You are my savior buddy. Thanks a lot for all these codes and explanations. I have a whole lot of templates generated out of it which is going to be very helpful as I am getting started in my transitioning to my new job in Data Science.

  • @maxwellpatten9227
    @maxwellpatten9227 Před 3 lety +2

    I just have to comment, YOU ARE AWESOME! Thank you for your videos!

  • @vasundharasharma1020
    @vasundharasharma1020 Před 2 lety +1

    great content, enjoyed learning!!

  • @manjuladas
    @manjuladas Před rokem

    Many thanks to you Krish. Its very helpful tutorial.

  • @prathamgupta992
    @prathamgupta992 Před 3 lety +4

    Thankyou sir for this playlist

  • @kedarushet2729
    @kedarushet2729 Před 3 lety

    Nyc Tutorial. Easy to understand

  • @kesavareddy6315
    @kesavareddy6315 Před 2 měsíci

    Thanks a lot brother you saved my mental health

  • @louerleseigneur4532
    @louerleseigneur4532 Před 3 lety

    Thanks Krish

  • @srinidhi6049
    @srinidhi6049 Před 3 lety +1

    Thank you very much

  • @BhanuprakashReddycool
    @BhanuprakashReddycool Před 3 lety +2

    @krish Naik, Can you please explain where did you get score from this statement return redirect(url_for(res,score=total_score))

  • @gauravshrivastav6807
    @gauravshrivastav6807 Před 3 lety +1

    spent my time on quality content.

  • @rohansorbis456
    @rohansorbis456 Před 3 měsíci

    it was perfect

  • @muneeskhan5193
    @muneeskhan5193 Před 3 lety +2

    where did u get the HTML code from? do mention it in the details.

  • @anandabhawan685
    @anandabhawan685 Před rokem

    What if I use 2 forms in my index.html
    how do I distinguish between then when reading the data using request?

  • @anuradhasaha2518
    @anuradhasaha2518 Před 3 lety

    Sir you should use the Emmet in vscode

  • @shashikantpandit663
    @shashikantpandit663 Před rokem

    thank you krish for these kind of videos. Have query : not able to install crypt as it is showing :(
    ERROR: Could not find a version that satisfies the requirement crypt (from versions: none)
    ERROR: No matching distribution found for crypt
    and without this crypt cannot import methods for further program
    please help me KRISH.🙏🙏🙏🙏🙏
    I am using Windows 10, python 3.7 virtual environment.
    thank you

  • @neethua3551
    @neethua3551 Před 3 lety +1

    Bsc.statistics or B's.maths is better degree to become data scientist?

  • @morganstanley1475
    @morganstanley1475 Před rokem

    @krish bhai, 2 sal pahle kitna cute lagte the!

  • @pratikrajbhar7607
    @pratikrajbhar7607 Před 9 měsíci

    thanks for help me solve flask url problem

  • @vipulpatil7687
    @vipulpatil7687 Před rokem

    i dont understand why we are doing render in main.py why not in app.py ? can ANYBODY plz explain

  • @JacklinSibiyal
    @JacklinSibiyal Před 5 měsíci +2

    Day 10 - 03/03/24

    • @remyar.2116
      @remyar.2116 Před 2 měsíci

      Have you started studying flask mean please tell me where you easily understanding and completed. I need to learn urgently.

  • @541c.ravindra4
    @541c.ravindra4 Před 4 měsíci

    How to access outside templates folder files...

  • @Ksilas27
    @Ksilas27 Před 21 dnem

    I'm having problems generating response from openai for my html through flask server. Can you please help me out

  • @khushalkhan4816
    @khushalkhan4816 Před 10 měsíci

    great sir we can solve my error through your video that file thait web page can not found (my final year project issue resolve
    )

  • @amanmaan7086
    @amanmaan7086 Před 2 lety

    I M getting this error can someone tell me why = ImportError("The crypt module is not supported on Windows"

  • @victoriavincent3811
    @victoriavincent3811 Před rokem

    Sir please update your django playlist please

  • @danidemssie8048
    @danidemssie8048 Před 2 lety

    how to popup it the result.html

  • @ronakpatidar2850
    @ronakpatidar2850 Před měsícem

    url_for is not defined.

  • @writabratadey8048
    @writabratadey8048 Před 2 lety +2

    request.method=='post' not working somehow, it's automatically redirecting to 'fail' url for all the values of total score....(working on same set up, like vs code and conda environment)

    • @divyanshpathak1902
      @divyanshpathak1902 Před rokem

      did you get any solution? im also getting the same output

    • @chinmaychoudhary9651
      @chinmaychoudhary9651 Před rokem

      i am also facing same issue

    • @zakriaansari7203
      @zakriaansari7203 Před rokem +1

      just change 'post' to capital request.method=='POST'
      hope it fixes the issue

    • @soumavadas1400
      @soumavadas1400 Před 5 měsíci

      If you are not getting redirected to failure or success page.. just in form action attribute do : action="{{ url_for('submit' }}" . Hope it solves the issue

  • @madhurigupta980
    @madhurigupta980 Před rokem +1

    Nice tutorial Sir
    I am getting method not allowed error.. Can u please help

    • @claw214
      @claw214 Před rokem

      how to solve this?

  • @dhanimunirsupriyadi1104

    im getting error (400: bad request)

  • @shubhamdhiman5952
    @shubhamdhiman5952 Před 2 lety +1

    kuch bhi samjh nhi ayA

  • @actualprogramming
    @actualprogramming Před 3 lety +4

    Finally DS are now realising that ML models aren't everything, and web dev is still the king😂.
    No offence to anyone, just a joke.😉

    • @krishnaik06
      @krishnaik06  Před 3 lety +9

      This playlist I am teaching so that anyone can integrate their model with web :) and yes full stack developer are the king..

  • @user-ve1pg7br1w
    @user-ve1pg7br1w Před rokem

    I have this problem:
    BadRequestKeyError
    werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
    KeyError: 'science'
    Traceback (most recent call last)
    This is the Copy/Paste friendly version of the traceback.
    Traceback (most recent call last):
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 2551, in __call__
    return self.wsgi_app(environ, start_response)
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\main.py", line 47, in submit
    science = float(request.form["science"])
    File "c:\Users\Admin\OneDrive\Documents\Flask_project\venv\lib\site-packages\werkzeug\datastructures.py", line 375, in __getitem__
    raise exceptions.BadRequestKeyError(key)
    werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
    KeyError: 'science'
    How can I correct this