Building Url Dynamically In Flask Web Framework
ฝัง
- เผยแพร่เมื่อ 24 ส.ค. 2024
- github: github.com/kri...
We at iNeuron are happy to announce multiple series of courses. Finally we are covering Big Data,
Cloud,AWS,AIops 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
Incase of any queries you can contact the below number. Happy Learning!!
8788503778
6260726925
9538303385
8660034247
9880055539
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.
Thanks
Keep the Good Work, Better then paid courses
Another good series has started. 👍
Nice explanation sir
Thank you sir for the flask playlist
Thank you for helping us to learn flask.......i really want to learn this
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 .
Ok keep going
Thanks Krish
Thank you very much for this video. Can you please show us how to debug this ?
Superb
Hello sir can you please teach us django in depth
@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
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
Create a long series please....
Why are you scrolling up and down so frequently? Hold the screen in one place, it is so distracting.
Day 9 - 02/03/24
Which study material should i preferred for flask??
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
My server is not getting updated after i search for server/success/55 shows server not found ?
❤️❤️
PREVIOUSLY FLASK HAS RENDER_TEMPLTE WHICH IS NOT WORKING RIGHT NOW WHY I DONT KNOW:
@krish if we enter single digit, say instead of 30, I mentioned 3, it gives 30. I am missing anything here?
Thankyou sir.😄
For a data scientist is it necessary to learn html?
it doesn't take more than a day to learn, so yes
@@vedanthbaliga7686great
I want give my member ship.how pay canby atm card
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.