You make my day Krish, I am your Full stack Data Science Student, I do not have PyCharm & only the way I can do using VS Code in my Office Laptop..In VSCode I was struggling to use Flask but your easiest video make life so easy and build First Flask Code..Thank you so Much :)
10:55, when redirecting using url_for, does the first parameter have to be the function name or the url title, for instance if I had url /success but my function name is not success then it doesn't work so is it using the function name primarily?
@krish Naik Sir, how to redirect if we have multiple path vairables, like score is one, if we have more than one, how to handle that? please explain for both, redirect+url_for AND routing
Thanks for your video. It is very helpful . By default it is taking 5000 port and default ip. If I want some specific ip and port then how to do that. Can you please let me know the details
Hi Sir, I have small doubt. @app.route('/Sucess/') def sucess(score): return " Good You Pass! " + str(score) @app.route('/fail/') def fail(score): return " OOps you did not pass! " + str(score) # Result checker @app.route("/result/") def check(score): result = "" if score > 50: result = "sucess" else: result = "fail" return redirect(url_for(result,score=score)) #this will transfer the control to line no. 3 or 5, because if I change the function name of sucess to Sucess then application is giving error that means rather it searching decorater name it is searching function name. Am I correct ?
it search for the decorator. then the decorator gets the argument and pass it to the function. the name of decorator parameter and function parameter should be same, other wise it'll throw an error
You make my day Krish, I am your Full stack Data Science Student, I do not have PyCharm & only the way I can do using VS Code in my Office Laptop..In VSCode I was struggling to use Flask but your easiest video make life so easy and build First Flask Code..Thank you so Much :)
Helped a lot for my hackathon. Thanks a lot sir.
Another good series has started. 👍
Thank you for helping us to learn flask.......i really want to learn this
Thanks
Keep the Good Work, Better then paid courses
Nice explanation sir
Thank you sir for the flask playlist
Sir isme aap project ke sath admin panel bhi btaye qki django mein admin panel toh usi mein build in rehta h magar flask mein nhi aisa q hai sir
Thanks Krish
10:55, when redirecting using url_for, does the first parameter have to be the function name or the url title, for instance if I had url /success but my function name is not success then it doesn't work so is it using the function name primarily?
Excellent .
Thank you very much for this video. Can you please show us how to debug this ?
@krish Naik Sir, how to redirect if we have multiple path vairables, like score is one, if we have more than one, how to handle that? please explain for both, redirect+url_for AND routing
Ok keep going
Superb
Which study material should i preferred for flask??
My server is not getting updated after i search for server/success/55 shows server not found ?
@krish if we enter single digit, say instead of 30, I mentioned 3, it gives 30. I am missing anything here?
Hello sir can you please teach us django in depth
Create a long series please....
Thanks for your video. It is very helpful .
By default it is taking 5000 port and default ip.
If I want some specific ip and port then how to do that.
Can you please let me know the details
you could specify it inside the run
For a data scientist is it necessary to learn html?
it doesn't take more than a day to learn, so yes
@@vedanthbaliga7686great
❤️❤️
PREVIOUSLY FLASK HAS RENDER_TEMPLTE WHICH IS NOT WORKING RIGHT NOW WHY I DONT KNOW:
Thankyou sir.😄
I want give my member ship.how pay canby atm card
Day 9 - 02/03/24
Why are you scrolling up and down so frequently? Hold the screen in one place, it is so distracting.
Hi Sir, I have small doubt.
@app.route('/Sucess/')
def sucess(score):
return " Good You Pass! " + str(score)
@app.route('/fail/')
def fail(score):
return " OOps you did not pass! " + str(score)
# Result checker
@app.route("/result/")
def check(score):
result = ""
if score > 50:
result = "sucess"
else:
result = "fail"
return redirect(url_for(result,score=score)) #this will transfer the control to line no. 3 or 5, because if I change the function name of sucess to Sucess then application is giving error that means rather it searching decorater name it is searching function name. Am I correct ?
it search for the decorator. then the decorator gets the argument and pass it to the function. the name of decorator parameter and function parameter should be same, other wise it'll throw an error
krish bhai nice cheeks😘
😂😂😂😂😂😂😂
if i make any changes in flask it won't update when i use debug=True, please anyone help me to solve this issue @krish naik
paste your code here. If there is an error it might not work.