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

Поделиться
HTML-код
  • Опубликовано: 8 фев 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.

  • @prathamgupta992
    @prathamgupta992 3 года назад +4

    Thankyou sir for this playlist

  • @Annual_light
    @Annual_light 3 месяца назад +1

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

  • @kesavareddy6315
    @kesavareddy6315 8 месяцев назад

    Thanks a lot brother you saved my mental health

  • @vasundharasharma1020
    @vasundharasharma1020 2 года назад +1

    great content, enjoyed learning!!

  • @manjuladas
    @manjuladas 2 года назад

    Many thanks to you Krish. Its very helpful tutorial.

  • @aliehhassanzadeh-n5e
    @aliehhassanzadeh-n5e Месяц назад

    Thank you so much👌

  • @srinidhi6049
    @srinidhi6049 3 года назад +1

    Thank you very much

  • @gauravshrivastav6807
    @gauravshrivastav6807 3 года назад +1

    spent my time on quality content.

  • @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))

  • @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.

  • @louerleseigneur4532
    @louerleseigneur4532 3 года назад

    Thanks Krish

  • @rohansorbis456
    @rohansorbis456 9 месяцев назад

    it was perfect

  • @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?

  • @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

  • @morganstanley1475
    @morganstanley1475 Год назад

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

  • @Ksilas27
    @Ksilas27 7 месяцев назад

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

  • @541c.ravindra4
    @541c.ravindra4 10 месяцев назад

    How to access outside templates folder files...

  • @anandabhawan685
    @anandabhawan685 Год назад

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

  • @pratikrajbhar7607
    @pratikrajbhar7607 Год назад

    thanks for help me solve flask url problem

  • @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.

  • @anuradhasaha2518
    @anuradhasaha2518 3 года назад

    Sir you should use the Emmet in vscode

  • @ronakpatidar2850
    @ronakpatidar2850 8 месяцев назад

    url_for is not defined.

  • @amanmaan7086
    @amanmaan7086 2 года назад

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

  • @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
    )

  • @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?

  • @danidemssie8048
    @danidemssie8048 2 года назад

    how to popup it the result.html

  • @victoriavincent3811
    @victoriavincent3811 Год назад

    Sir please update your django playlist please

  • @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