Python Flask Tutorial: Full-Featured Web App Part 2 - Templates

  Рет қаралды 876,425

Corey Schafer

Corey Schafer

Күн бұрын

In this Python Flask Tutorial, we will be learning how to use templates. Templates allow us to reuse sections of code over multiple routes and are great for serving up dynamic HTML pages. Let's get started...
The code for this series can be found at:
github.com/CoreyMSchafer/code...
The code snippets used in this video can be found here:
github.com/CoreyMSchafer/code...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
www.amazon.com/shop/coreyschafer
▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python #Flask

Пікірлер: 876
@MrMiguelcdpmarques
@MrMiguelcdpmarques 6 жыл бұрын
The quality of these tutorials is very high. Higher than most paid content in other platforms. A sincere thank you from a Python beginner
@KrazyMO
@KrazyMO 5 жыл бұрын
I was going to say the same thing. Thank you for posting your tutorials.
@rewerb
@rewerb 5 жыл бұрын
Agreed.
@zennn9690
@zennn9690 5 жыл бұрын
It's getting pip is not recognized as a internal r external cmnd... Wt to do
@younesboukroun3060
@younesboukroun3060 5 жыл бұрын
@@zennn9690 which system do u use? windos or mac or linux? well you have to install the pip and path when u install python if you are in windows
@zennn9690
@zennn9690 5 жыл бұрын
@@younesboukroun3060.Tq fr ur rply... Finally I set the path and made it work
@coreyms
@coreyms 6 жыл бұрын
I call the percent signs "parentheses" multiple times throughout this video. Not sure what I was thinkin. Just ignore that.
@omar_5352
@omar_5352 6 жыл бұрын
@Corey Schafer In my early days working with the console (MS-DOS 6.2, not Linux, sorry) I used to call the colon a TAB , so it's A-tab and C-tab when switching between drives. It stayed with me for quite long time!! Thanks for all your amazing videos
@prabeshgautam3774
@prabeshgautam3774 6 жыл бұрын
For a moment I was like..... He called multiple times.. Maybe he dont know the difference between these two.. haha
@01Ventures
@01Ventures 5 жыл бұрын
How do I create a shortcut where I can just type lets say %% and it will automatically put {%%}... cause writing that out every single time is so tedious !?
@francist3979
@francist3979 5 жыл бұрын
Great work! Subscribed!
@quasa0
@quasa0 5 жыл бұрын
Allan Bart did you solve your issue?
@jharris4854
@jharris4854 4 жыл бұрын
Your free tutorials are BY FAR worth more than the overpriced paid courses on udemy. Ive been educating myself in Information technology in almost every genre for the last decade, and HANDS DOWN you have the best content among any Ive watched. Only Khan academy videos come even close to your teaching quality. For so long I was disappointed Khan didnt have more computer science tutorials....and then I discovered you! lol KEEP IT UP MAN - I became a member just to support you bc Im so impressed with your work.
@dawnS33ker
@dawnS33ker 11 ай бұрын
I completely agree..
@carolflyjs
@carolflyjs 6 жыл бұрын
Your tutorials are probably the best tutorial I've ever taken online! Most other people's tutorials are either too slow or not clearly explaining key concepts. You nailed it! Thank you!
@nghiepcrypto7034
@nghiepcrypto7034 4 жыл бұрын
when I think about Python tutorials, I think about you. It just pops up in my mind immediately, very natural.
@coreyms
@coreyms 4 жыл бұрын
Thanks :)
@junyuan399
@junyuan399 4 жыл бұрын
Smh i'm paying school fees to get taught by teachers that can't teach well. However, Corey's tutorial videos are so much easier to understand and it's free! Thank you for being my actual programming teacher!
@zihengxu
@zihengxu 5 жыл бұрын
These are some of the highest quality tutorials I've ever seen. Makes me start to doubt the quality of my 200k college education.
@bhargavreddy7038
@bhargavreddy7038 5 жыл бұрын
lol same feeling
@urjitchakraborty5813
@urjitchakraborty5813 3 жыл бұрын
yes but putting "i finished this web dev course on youtube" isnt going to do much even if you learned more than in a degree
@jl_woodworks
@jl_woodworks 6 жыл бұрын
Corey, whenever I learn something new that actually has a practical value I feel an undescriptable enjoyment. With that said, that is what I feel when I watch a video of yours and, I have to say, I've never liked web development that much but now I'm feeling I actually do like it! So, in short, you're a great teacher and I encourage you to keep teaching! Thank you!
@codebreakthrough
@codebreakthrough 3 жыл бұрын
Wow Corey, great job with these videos. Seems so simple, but that html snippet to generate a basic HTML structure was eye opening. Up until this point I've been looking up HTML boilerplate code and copying and pasting. Appreciate it much.
@imdadood5705
@imdadood5705 3 жыл бұрын
Legend commenting on another legend’s video. Thank you both of you!
@RyantheCanuckpirate
@RyantheCanuckpirate Жыл бұрын
Crazy world. I was just watching your database design video literally 45 minutes ago
@Haitham00n
@Haitham00n 5 жыл бұрын
I think I never commented to a video before in my life. I watched the first 3 videos of this playlist and I really can't thank you enough for your effort and time and the way you illustrate it to us. Thanks a lot :)
@TheMetalhead1311
@TheMetalhead1311 5 жыл бұрын
This is going to be such a huge help for school. Its one of the few modern tuts out there and one of the best I've ever seen. A huge thank you @Corey Schafer
@christopherlawson2797
@christopherlawson2797 5 жыл бұрын
I rarely comment on videos, but this is exceptionally well done. Thank you for the time and effort you spent putting this together.
@abhijithsnair3157
@abhijithsnair3157 5 жыл бұрын
Dear Corey, I don't know how to thank you for all these videos. The quality of your teaching is exceptional. The pace, accent, standard and content is up to the mark. Being a newbie in this area, your course had helped me learn a lot. Thanks a ton!!!
@anandsrikumar007
@anandsrikumar007 4 жыл бұрын
Your videos are better than many paid courses from Udemy! You are explaining so clearly No unnecessary theory, no dragging the video long. Just getting to the point!
@tubalix
@tubalix 4 жыл бұрын
I keep on watching more and more videos on python, also on Udemy. Then I come back to Corey and genuinly conclude time after time: Corey is the best!! I feel grateful for all of us out there you are there around making those videos in such a fantastic way. Thanks, you definitely are the man!!!
@samuelyap1681
@samuelyap1681 5 жыл бұрын
Thanks for putting out a series on Flask. Read the official documentation for Flask and struggled, finding your videos made it smooth as budda.
@WolverineAndSloth
@WolverineAndSloth 5 жыл бұрын
I tried out some Django tutorials after learning the basics of python and i felt so completely and utterly lost. Then i stumbled on your videos and Flask, and everything is making sense again. Thank you so much for your work, Corey.
@jashbangdiwala4575
@jashbangdiwala4575 5 жыл бұрын
This is highly detailed and really well thought of. There’s a great structure and a perfect flow for a beginner to follow !
@Endlessvoidsutidos
@Endlessvoidsutidos 5 жыл бұрын
one of the best and most comprehensive tutorials on flask bootstrap and css integration i have ever seen well done sir
@varunteja6544
@varunteja6544 Жыл бұрын
I am really fortunate to stumble upon your channel. The course is going on very smoothly and the explanations are very clear and upto the point!! I have come here after having attended your Python courses, to learn web development using Python. My heartful thanks to you Corey :) !! You are a great teacher!!
@dannyvriens4903
@dannyvriens4903 5 жыл бұрын
I code a lot of years in different styles and languages but I can't explain this as clear as you did here. Well done and hold this teaching skills.
@Nalurilolz
@Nalurilolz 4 жыл бұрын
Thank you man, when I watch your videos it's like you're talking directly to my brain and answering just the questions I'm asking !
@lolkgraham1727
@lolkgraham1727 4 жыл бұрын
Here, mister @CoreySchafer! A sincere thank you, from the community of python beginners. You have done a very good thing. There is NO better paid or free content on the entire world wide web that can outstand The quality and easy understanding of Flask in your series!!! THANK YOU SIR!
@mailrafat
@mailrafat 4 жыл бұрын
Corey is the Master of all "Paid So-called Gurus (they should pay him to learn how to teach rich contents without asking for money)" out there, the way he teaches gets hard-coded in your memory while you'll be having perfect to the point practical knowledge for that subject matter, Hats off sir!
@dylee8998
@dylee8998 5 жыл бұрын
This man is legend, Corey, you're arguably the best Python Teacher online no cap Keep It Up!, 300k Subscribers inna bit
@christorok1906
@christorok1906 5 жыл бұрын
This tutorial is even more simple than the one of Flask's site. Very good! I'm using this for a software engineering group project in my database course. You're a very good teacher. I am just getting into web development frameworks. Flask is my very first. I tried following the Flask tutorial. It really takes some time and energy to mull over when you've been programming in a sandbox at a university and not having to weave different technologies together. I think I'm starting to understand. Flask uses Blueprinting in their tutorial which is a bit new to me.
@Andi199656
@Andi199656 5 жыл бұрын
This is literally the best tutorial I have ever seen in my life. Thank you so much for creating such good content! Greetings from Germany :)
@MouradMourad1000
@MouradMourad1000 5 жыл бұрын
very good quality videos, can't wait to watch them all. At tje beginning i was afraid because you speak a bit quickly but what a enjoyment to watch this video and learn with you. keep it up man and thanks a lot. definitely I will watch again and more 👍😊
@sudhanshu20094u
@sudhanshu20094u 5 жыл бұрын
Great thing about your tutorial - The way you explained how posts are being passed to home.html. I mean you explain each and every bit. Its really great.
@RemyDelaCruz
@RemyDelaCruz 3 жыл бұрын
The amount of details in these videos are unbelievable. He never assumes you know every step, no implied knowledge. I wish I could hug you for the amount of effort you put on your videos. Maybe one day, instead I’ll find a way to contribute by buying anything you sell. Thanks again.
@topgunm
@topgunm 4 жыл бұрын
Watching all the ads to support this awesome teacher - the ads are trying to send me to other learning sites - but we got the best teacher here already! Thanks once again Corey.
@coreyms
@coreyms 4 жыл бұрын
Thanks for the kind words!
@brtvndnbrnd
@brtvndnbrnd Жыл бұрын
Hi Corey. It's amazing how well we can follow these instructions, typing them in as you do. It's also well explained, even for those (read: me) that don't have a lot of experience in Python nor html. And most of all: so far everything is working. Most of the KZbin tutorial video's lead to some coding that doesn't do what it's supposed to do. But not with your two video's so far😀. They actually work. Great job. Thank you very much. There is no other option than subscribing to your channel, what I did of course.
@InfameKato
@InfameKato 4 ай бұрын
I'm currently working on my flask App, and was looking for a clear tutorial on how this is properly done, so not to start doing it butchering key concepts and having to re-do many things. So far this has been the best flask tutorial I could find. You really dig deep into the bone of it. Thank you so much from Colombia!
@bartagas2
@bartagas2 5 жыл бұрын
Another great tutorial. Good stuff Corey. Appreciate the detail of explaining every line and going into the page source code.
@ibrahimal-mahfooz8737
@ibrahimal-mahfooz8737 5 жыл бұрын
You're just amazing. This can't be simpler and easier than the way you explain it.
@mohammadghonchesefidi9238
@mohammadghonchesefidi9238 5 жыл бұрын
Best and the most complete Flask tutorial on the web. Thanks for sharing this for free.
@simplepycodes
@simplepycodes 5 жыл бұрын
Man, simply you're the best and these are the best flask tutorials i have ever seen. but a lot to take, i think we need to code a long the video couple of times. Thanks a lot, super awesome.
@homayoonkhadivi5320
@homayoonkhadivi5320 3 жыл бұрын
I'm so thankful I found you on KZbin😊. I am fascinated for the way you are teaching. Keep going, you are awesome👍
@akashrawat2506
@akashrawat2506 4 жыл бұрын
I wanted to learn flask and started so many time and end up not completing it. The main reason was I didn't find any content with this level of explanation and focus to every detail. Your video series is helping me a lot. Love you 3000 man 🙌💥
@annguyenviet9028
@annguyenviet9028 5 жыл бұрын
this lesson is extremely valuable for a newbee like me. Thanks for sharing a great series tutorials.
@JosephStreet-dk7uw
@JosephStreet-dk7uw Жыл бұрын
For those having issues with the navbar links Login and Register still being on the left side, you're using a newer version of Bootstrap. As of writing this video series is 4 years old so some things may look different to you. To fix it, the line should be
@user-dw3cn1jt9p
@user-dw3cn1jt9p Жыл бұрын
After I created my template extends it throws an error In the beginning of all my files Please do you know how I can fix these
@amirchegg
@amirchegg Жыл бұрын
Thanks👍🏿
@Jason06245
@Jason06245 Жыл бұрын
Still doesn't work, I think something has changed
@renniekimutai6293
@renniekimutai6293 Жыл бұрын
works. thanks
@akashbhateja7410
@akashbhateja7410 Жыл бұрын
@@renniekimutai6293 Hey its not working for me. Can you tell more about this? The page just don't look the same. The location of things is correct but the elements are overlapping and colors are not shown
@alainhachem7168
@alainhachem7168 5 жыл бұрын
As I follow your step and create the blog with you, I am learning on a next level. I have taken a python class before and left it unable to code at all, thanks to your videos it is actually all making sense. Thank you so much.
@coreyms
@coreyms 5 жыл бұрын
That's great to hear! Thanks for the comment.
@hamolicious2387
@hamolicious2387 4 жыл бұрын
These tutorials are so good, no bullshit, just content and pure learning! Thanks a ton
@mikerihm
@mikerihm 5 жыл бұрын
You are a fantastic teacher. This is so easy to follow and very enjoyable - great job man!
@TheMeticulousMoo
@TheMeticulousMoo 3 жыл бұрын
Honestly Corey, people like you are the reason why the internet is so great. Excellent tutorials man, keep it up!
@Rafiki041087
@Rafiki041087 5 жыл бұрын
Thanks Corey, really appreciate the effort you did in making this tutorial. Great help to get familiar with web development.
@ArchAid1
@ArchAid1 6 жыл бұрын
Hey Corey :D I really loved these tutorials! (at least as far as I've gotten) - This is great stuff. Many many thanks
@rahulsailwal4025
@rahulsailwal4025 4 жыл бұрын
i have started watching this flask tutorial and impressed so much that i have subscribed. Thank you so much for the wonderful video.
@lumitechMY
@lumitechMY 2 жыл бұрын
watching back at 2021 still thinks its the best tutorials ever
@545amit
@545amit 6 жыл бұрын
Thank you Corey!! Keep creating awesome videos on flask.
@RameenFallschirmjager
@RameenFallschirmjager 3 жыл бұрын
Your voice is so soothing that I can build a project while listening and learning from you when I'm in a sinking ship!
@rpavanshetty
@rpavanshetty 6 жыл бұрын
Going great so far. Love your approach. Thank you. Next to the 3rd episode.
@dominicdit
@dominicdit 5 жыл бұрын
Coming from first learning HTML and CSS as a child, then picking up Python recently, and now amalgamating them in this way feels amazing
@TheMetalhead1311
@TheMetalhead1311 5 жыл бұрын
4/20 I see you Corey haha. Keep up the great work man. Already on to the second video!
@markslowe
@markslowe 5 жыл бұрын
These tutorials are PERFECT. Well done and thank you!
@CharlesDibsdale
@CharlesDibsdale 6 жыл бұрын
Wonderful work Corey, well worth waiting for
@PotatoMan1491
@PotatoMan1491 4 жыл бұрын
Part 2 only and you have been a tremendous educational help, I really enjoy these.
@chaudharyu.8453
@chaudharyu.8453 4 жыл бұрын
Probably one of the best courses to start with flask ! Thank you very much @Corey Schafer for providing such a great tutotial:)
@saritagautam3483
@saritagautam3483 6 жыл бұрын
i was waiting for this for so long. Thanks for creating such awesome tutorials.
@thomasfeldman3613
@thomasfeldman3613 5 жыл бұрын
This is so helpful I almost can't believe it! Thank you so much Corey!!!
@cometolearn8598
@cometolearn8598 Жыл бұрын
Damn I cannot believe this is video was posted 5 Years ago it is better than 90% of the videos today. Great Work Man.
@moeinmhzg7827
@moeinmhzg7827 3 жыл бұрын
It was such a pain an scary thing for me to search and learn these things of flask and thanks to your video it was such a easy and good way for me to learn all these things. Not just this(Flask), all of your tutorials have very high quality. Thank you so much sir.
@lashagavashelashvili4661
@lashagavashelashvili4661 Жыл бұрын
This is very high quality tutorials. I recommended it my students. thank you Corey
@mahfuzhasan7588
@mahfuzhasan7588 4 жыл бұрын
I have been your fan by watching your teaching style and contents, amazing.
@yu_ja.mp4
@yu_ja.mp4 6 жыл бұрын
Best flask lecturer ever! :) Thank you for your great resources.
@GaurankGoyal
@GaurankGoyal 5 жыл бұрын
Awesome!! Really one of the best tutorial, thanks for such a high quality tutorial!!
@aryansethi5508
@aryansethi5508 5 жыл бұрын
Literally amazing tutorials. Just loved them so much. I tried about 5 others , but this one is
@rachitmehta7738
@rachitmehta7738 3 жыл бұрын
awesome tutorial ! It not only helps learn easily, but your style helps to remember it as well. thanks!
@CorySchneiderOfficial
@CorySchneiderOfficial 4 жыл бұрын
Corey, by glancing at your comments, I know you see this all the time, but: Your tutorials are amazing. No fluff or wasted time, but what feels like a perfect amount of information in every video. You're killing it, and I'm headed over to make a BTC donation right now. Once I get my first programming job, another $100 is coming your way. From a fellow Cor(e)y, thanks so much!
@coreyms
@coreyms 4 жыл бұрын
Thanks so much! Really glad to hear you found the videos helpful
@nakhla3
@nakhla3 5 жыл бұрын
very informative video and in the same time like playing with puzzles and a real product at end, can't thank you enough
@codygao8323
@codygao8323 Жыл бұрын
Hi! @Corey Schafer Many thanks from a Python self-learner who wants to be a back-end developer!🥰
@mr.RAND5584
@mr.RAND5584 4 жыл бұрын
I am not bored this covid quarantine. Thank you sir. So clear explanation.
@rahmahalane2455
@rahmahalane2455 6 жыл бұрын
Amazing tutorials on Flask app! Glad I found you!
@kartikxramesh
@kartikxramesh 4 жыл бұрын
Only 8 minutes in, and I'm just so amazed by the quality of this video. I'm a C++ programmer, and I never thought I'd enjoy Python this much. Thanks a ton Corey! P.S. I'll definitely become a patron once I get my first paycheck :)
@coreyms
@coreyms 4 жыл бұрын
Thanks!
@AnVinhNguyen
@AnVinhNguyen 4 жыл бұрын
Your KZbin Channel brings so much good to the world. Thank you for making the contents available for us who want to learn
@lightninginmyhands4878
@lightninginmyhands4878 5 жыл бұрын
Legendary tutorial, once again. Concise!
@mohamedharoon9136
@mohamedharoon9136 6 жыл бұрын
Sir, you are the best lecturer around. THANKS!!!
@christinagorbenko6811
@christinagorbenko6811 2 жыл бұрын
Such high quality. Highly recommend these tutorials for people doing flask
@contactvooxel7864
@contactvooxel7864 6 жыл бұрын
Best Flask intro Thank you!
@yltfy
@yltfy 5 жыл бұрын
Excellent video! Much better than those paid video tutorials on some learning websites...
@rehansarfraz4091
@rehansarfraz4091 4 жыл бұрын
I can't believe this thing is free. great content. you're sure getting blessed with quite a lot prayers....
@fitonkastrati6758
@fitonkastrati6758 5 жыл бұрын
Thank you for this high quality of tutorials!
@vyashas4483
@vyashas4483 5 жыл бұрын
bro there videos are the best . they really are of high quality . i also loved the way you explained the things.....thankyou it was very helpful
@thecodingsim6003
@thecodingsim6003 Жыл бұрын
Thank you so much for summarizing something so complex for me to understand in under an hour ❤ you saved me
@rockytironi4972
@rockytironi4972 5 жыл бұрын
This is a great series! very informative and everything is explained very well.
@KunaalNaik
@KunaalNaik 4 жыл бұрын
Clear explanation and good pace. Thank you for this tutorial!
@LukeAvedon
@LukeAvedon 5 жыл бұрын
You are truly a gifted teacher.
@EunchanPark
@EunchanPark 6 жыл бұрын
Thank you very much! I am going to use Flask for my robot project!!
@sribastavrajguru304
@sribastavrajguru304 2 жыл бұрын
Thanks Corey for the wonderufl tutorial, I liked every single video that I have watched in ur channel. Thanks a lot, keep posting awesome content like this
@akashjain35
@akashjain35 5 жыл бұрын
Better teaching skills than any professional out there !!!
@ishpeace4886
@ishpeace4886 5 жыл бұрын
Great tutorial! Thanks Corey pls keep up the great work
@asgard2054
@asgard2054 6 жыл бұрын
Yes, please make a flask bootstrap extension video!
@TPoTTS23
@TPoTTS23 Жыл бұрын
Thank you Mr. Schafer for creating and sharing. This is an absolute blessing and I'm learning alot.
@gabebraden915
@gabebraden915 5 жыл бұрын
Great jog Corey! Very useful tutorial. Thanks
@pengtroll6247
@pengtroll6247 4 жыл бұрын
Wow the layout html inheritance is very cool! thanks for the awesome video as always!
@kakoozarichard5769
@kakoozarichard5769 4 жыл бұрын
These are one of the best tutorials ever...Thank you very much papa!!
@OthmanAlikhan
@OthmanAlikhan 5 жыл бұрын
CTRL+SHIFT+R to bypass cache, thanks for the shortcut, really useful to know!
@yonathan9186
@yonathan9186 5 жыл бұрын
Thanks for making my learning process very easy...
@barbarossa11
@barbarossa11 3 жыл бұрын
Awesome job, I feel really smart following your tutorials. Thanks man!
@mattjclay
@mattjclay 5 жыл бұрын
Such a nice little, clean, yet powerful framework.
Learn HTML in 1 hour 🌎
1:00:00
Bro Code
Рет қаралды 1,9 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 76 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 33 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 195 МЛН
Python Tutorial: if __name__ == '__main__'
8:43
Corey Schafer
Рет қаралды 2 МЛН
How Microsoft Accidentally Backdoored 270 MILLION Users
14:45
Daniel Boctor
Рет қаралды 250 М.
Learn Flask for Python - Full Tutorial
46:59
freeCodeCamp.org
Рет қаралды 1,7 МЛН
Python Flask Tutorial: Full-Featured Web App Part 1 - Getting Started
17:09
Python WEB SCRAPING in 30 Seconds! 🔥👨‍💻 #shorts
0:32
truthybyte
Рет қаралды 309 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins
Рет қаралды 2,3 МЛН
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,3 МЛН
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 76 МЛН