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

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

Комментарии • 44

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

  • @RuneshkrishnaMurugesh
    @RuneshkrishnaMurugesh 3 года назад +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 2 года назад +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 3 года назад +2

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

  • @BhanuprakashReddycool
    @BhanuprakashReddycool 3 года назад +2

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

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

    great content, enjoyed learning!!

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

    Thankyou sir for this playlist

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

    Many thanks to you Krish. Its very helpful tutorial.

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

    Nyc Tutorial. Easy to understand

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

    Thanks a lot brother you saved my mental health

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

    Thank you very much

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

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

  • @muneeskhan5193
    @muneeskhan5193 3 года назад +2

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

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

    Thanks Krish

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

    spent my time on quality content.

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

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

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

    it was perfect

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

    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

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

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

  • @Ksilas27
    @Ksilas27 23 дня назад

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

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

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

  • @writabratadey8048
    @writabratadey8048 2 года назад +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 Год назад

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

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

      i am also facing same issue

    • @zakriaansari7203
      @zakriaansari7203 Год назад +1

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

    • @soumavadas1400
      @soumavadas1400 5 месяцев назад

      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

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

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

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

    How to access outside templates folder files...

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

    Sir you should use the Emmet in vscode

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

    thanks for help me solve flask url problem

  • @khushalkhan4816
    @khushalkhan4816 10 месяцев назад

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

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

    how to popup it the result.html

  • @ronakpatidar2850
    @ronakpatidar2850 Месяц назад

    url_for is not defined.

  • @JacklinSibiyal
    @JacklinSibiyal 5 месяцев назад +2

    Day 10 - 03/03/24

    • @remyar.2116
      @remyar.2116 2 месяца назад

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

  • @madhurigupta980
    @madhurigupta980 Год назад +1

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

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

      how to solve this?

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

    Sir please update your django playlist please

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

    im getting error (400: bad request)

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

    kuch bhi samjh nhi ayA

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

  • @user-ve1pg7br1w
    @user-ve1pg7br1w Год назад

    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