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

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025
  • github.com/kri...
    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.viewp...
    Incase of any queries you can contact the below number. Happy Learning!!
    8788503778
    6260726925
    9538303385
    8660034247
    9880055539

ความคิดเห็น • 48

  • @krishnaik06
    @krishnaik06  3 ปีที่แล้ว +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

  • @PriyaGupta-sg4sm
    @PriyaGupta-sg4sm 3 หลายเดือนก่อน +2

    The best, clearest and easiest tutorial you will ever find !

  • @RuneshkrishnaMurugesh
    @RuneshkrishnaMurugesh 3 ปีที่แล้ว +7

    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. :)

  • @maxwellpatten9227
    @maxwellpatten9227 3 ปีที่แล้ว +3

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

  • @VP_SOTWMC
    @VP_SOTWMC 3 ปีที่แล้ว +2

    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.

  • @Annual_light
    @Annual_light 3 หลายเดือนก่อน +1

    for people facing error with the request thing import request along with flask!!
    happy coding

  • @prathamgupta992
    @prathamgupta992 3 ปีที่แล้ว +4

    Thankyou sir for this playlist

  • @kesavareddy6315
    @kesavareddy6315 9 หลายเดือนก่อน

    Thanks a lot brother you saved my mental health

  • @manjuladas
    @manjuladas 2 ปีที่แล้ว

    Many thanks to you Krish. Its very helpful tutorial.

  • @vasundharasharma1020
    @vasundharasharma1020 2 ปีที่แล้ว +1

    great content, enjoyed learning!!

  • @aliehhassanzadeh-n5e
    @aliehhassanzadeh-n5e หลายเดือนก่อน

    Thank you so much👌

  • @kedarushet2729
    @kedarushet2729 3 ปีที่แล้ว

    Nyc Tutorial. Easy to understand

  • @BhanuprakashReddycool
    @BhanuprakashReddycool 3 ปีที่แล้ว +3

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

  • @srinidhi6049
    @srinidhi6049 3 ปีที่แล้ว +1

    Thank you very much

  • @louerleseigneur4532
    @louerleseigneur4532 3 ปีที่แล้ว

    Thanks Krish

  • @writabratadey8048
    @writabratadey8048 2 ปีที่แล้ว +3

    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 2 ปีที่แล้ว

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

    • @chinmaychoudhary9651
      @chinmaychoudhary9651 2 ปีที่แล้ว

      i am also facing same issue

    • @zakriaansari7203
      @zakriaansari7203 ปีที่แล้ว +1

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

    • @soumavadas1400
      @soumavadas1400 11 หลายเดือนก่อน

      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

    • @KuheliDas
      @KuheliDas 2 หลายเดือนก่อน

      did you resolve this issue?
      even for me its redirecting to FAIL url.

  • @gauravshrivastav6807
    @gauravshrivastav6807 3 ปีที่แล้ว +1

    spent my time on quality content.

  • @morganstanley1475
    @morganstanley1475 ปีที่แล้ว

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

  • @shashikantpandit663
    @shashikantpandit663 2 ปีที่แล้ว

    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

  • @muneeskhan5193
    @muneeskhan5193 3 ปีที่แล้ว +2

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

  • @neethua3551
    @neethua3551 3 ปีที่แล้ว +1

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

  • @rohansorbis456
    @rohansorbis456 9 หลายเดือนก่อน

    it was perfect

  • @pratikrajbhar7607
    @pratikrajbhar7607 ปีที่แล้ว

    thanks for help me solve flask url problem

  • @Ksilas27
    @Ksilas27 7 หลายเดือนก่อน

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

  • @anandabhawan685
    @anandabhawan685 ปีที่แล้ว

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

  • @khushalkhan4816
    @khushalkhan4816 ปีที่แล้ว

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

  • @541c.ravindra4
    @541c.ravindra4 10 หลายเดือนก่อน

    How to access outside templates folder files...

  • @anuradhasaha2518
    @anuradhasaha2518 3 ปีที่แล้ว

    Sir you should use the Emmet in vscode

  • @madhurigupta980
    @madhurigupta980 2 ปีที่แล้ว +1

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

    • @claw214
      @claw214 2 ปีที่แล้ว

      how to solve this?

  • @vipulpatil7687
    @vipulpatil7687 2 ปีที่แล้ว

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

  • @JacklinSibiyal
    @JacklinSibiyal 11 หลายเดือนก่อน +3

    Day 10 - 03/03/24

    • @remyar.2116
      @remyar.2116 8 หลายเดือนก่อน

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

  • @amanmaan7086
    @amanmaan7086 2 ปีที่แล้ว

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

  • @ronakpatidar2850
    @ronakpatidar2850 8 หลายเดือนก่อน

    url_for is not defined.

  • @victoriavincent3811
    @victoriavincent3811 ปีที่แล้ว

    Sir please update your django playlist please

  • @danidemssie8048
    @danidemssie8048 2 ปีที่แล้ว

    how to popup it the result.html

  • @dhanimunirsupriyadi1104
    @dhanimunirsupriyadi1104 2 ปีที่แล้ว

    im getting error (400: bad request)

  • @actualprogramming
    @actualprogramming 3 ปีที่แล้ว +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  3 ปีที่แล้ว +9

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

  • @shubhamdhiman5952
    @shubhamdhiman5952 3 ปีที่แล้ว +1

    kuch bhi samjh nhi ayA

  • @EvelynAtes
    @EvelynAtes ปีที่แล้ว

    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