Build your own Python Flask website with Linode: ntck.co/linode (get a $100 Credit good for 60 days as a new user!!) 💡💡Text walkthrough/Code/Command: ntck.co/flask 🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy 0:00 ⏩ Intro 0:50 ⏩ What do you need? 2:09 ⏩ What the junk is Flask? 2:56 ⏩ Let’s get started! 8:23 ⏩ Time to build our meme website! 11:33 ⏩ Outro
@@autoimmune8601 everyone would be exiting making money. It doesnt matter if he actually knows what hes doing. It works and he inspires many young people for computer stuff. Hes earned it. What impact do you have in the world. Dont be so miserable
@@Voice_at_heart Maybe you should overcome excuses and look at the post below. I followed the tutorial (and did some troubleshooting when needed) and got my memesite working. Next step getting to a remote server.
Ah dang it! I guess the meme API doesn't work anymore: after the request made with the request module, the API's server responds with 503 - Service unavailable. HA! Fixed: in the github repository page of the API tells that the domain used in this video is no longer available due to Heroku not supporting free dynos anymore, so they provided a new domain. Just use the new domain inside the get_meme() function and everything works as intended
I mean, I really like the style. I value the fact that you're doing all that in a linux text editor directly in the server. But in my case I totally need an IDE :)
🎯 Key Takeaways for quick navigation: 00:29 ☕ *Flask, a web application framework, is introduced. It simplifies website development with Python, making it accessible for beginners.* 01:26 💻 *Linux virtual machine from Linode is recommended for hosting the Flask website, offering fast and cost-effective cloud solutions.* 02:24 🐍 *Flask is lightweight and written in Python, providing a simple and powerful tool for web development, especially for small to medium-sized projects.* 03:25 🌐 *Flask installation and setup are demonstrated, including the installation of PIP, Flask, and the requests library for API interaction.* 07:22 🚀 *A basic Flask website is built, interacting with an API to display random memes from Reddit at the root URL. The process involves creating Python scripts and HTML templates.* Made with HARPA AI/sum
Thanks again! I repeat, your presentation style is beyond efficient. It’s getting hard to watch other training productions, good as they may be, because they just can’t pack as much information into a single episode. Learning from those after one of yours is like getting back into a Prius after driving a Tesla.
When Chuck started becoming software engineer, now a days content related software domain but this is really important now for everyone 😎. Thank you Chuck
Thank you for this video, I wasn't able to start my flask journey because of all the other typical online tutors, it always seemed a hard but now it seems nothing, you are a great teacher, and Linux influencer.
Gotta love this man. Like giving confidence to start doing projects while at a beginner state is something thats more important than sticking to learning and getting ready for whats comming. Dont wait just go for it. Love that kind of style. Thanks NetworkChuck.
Thank you! I've been trying to decide whether to use Django or Flask, but after watching a few "getting started" tutorials on both, I'll go with Flask.
Oh man.... just started a deep dive into APIs with Flask and SqlAlchemy. And just after starting off, Chuck creates content about it. Neat, thank you man!
You are like that friend in school that helped you during class when you wouldn't understand the teacher. Sometimes i would understand my friend more than the teacher. LOL But you're a great teacher by the way. All this month I'll be learning from you my friend, Python is especially what i'm starting with.
I love it! Im using python for my api but not yet on a website using flask as the web framework. Hope to see more contents about python + api + flask ❤️
this confuse me. if I can create website using flask. is the project website I created using flask is front end or back end? Because based on my understanding. Front end is the this client use to interact on the system using the website with buttons etc. then back end is more on database where data inputted by client is stored.
This is such a coincidence I’m on a cohort at the moment on the cloud devops specialisms , and all your recent videos are exactly related to my end project , we have to build a web app with flask that has CRUD functionality and is connected to a database and we have to build it using sql academy. Your videos are actually helping to get me through this. I’m a complete beginner and I appreciate your way of teaching
Wow chuck, you make coding and development soo much interesting 🔥♥️ loved it. You cover so much awesome topics which I am passionate about like ethical hacking, scripting, certs, knowledge about tailoring resume, cloud, projects, Cybersecurity, Networking and soo much more. I'm so glad I found your channel, you are my inspiration that boosts my enthusiasm towards IT Security and IT as career. Please don't stop making such awesome knowledge content of Geeks like us.❤️❤️
Love your teaching style, it really boosted my python learning experience! There’s a lot of twitter bot tutorials and I’ve covered some ground on my project, but I’ve hit some road blocks that I think one of your videos could really help. I’m already in twitter dev portal and I successfully accessed twitter API. Can we get a twitter bot video????
Hey Chuck, I was wondering, can I use a virtualenv as a substitute to Linode or a Linux Computer for this tutorial? Im not sure how to create a Linux Computer, nor do I want to pay for Linode, but a virtualenv seems to do the same job. Idk, Im not an expert ofc
I think you can use a virtualenv and that's what I've been doing to follow along. I got the first part all set up and working however I am getting an error in regards to the requests import. I am using VScode and I get an error message that says 'Import "requests" could not be resolved from source Pylance' even though I have run 'pip install requests' in the venv. Chuck's got a very loving relationship with his sponsor Linode and so all his tutorials take place on a virtual machine on Linode... or if its a different sponsor, then on a raspberry pi.
@@migasgt638 thanks for the response. Upon your suggestion I tried that and got an error: "ImportError: cannot import name 'requests' from 'flask'" I think its just supposed to be 'import requests' without the 'from flask' and yes, I do have the import line in my meme_flask.py file and I've run 'pip install requests' in the venv then tried to troubleshoot by 'pip uninstall requests' and reinstalling again. I've also made sure I'm up to date on pip and python.
Hello networkchuck ! i created same thing i m getting this error while running... The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I appreciate your videos, but PLEASE use the correct names for characters. You called the forwardslash a "backslash" twice 4:515:25 (also, your double quotes turned into single quotes without any explanation 5:41), and you called curly braces "brackets" which commonly means square brackets. Keep up the great videos, but please avoid confusion with the names.
So I remember in a previous video you said that you were employed in I.T. My question is is Python the primary language you used out were there others?
5:30 - That is a forward slash. A forward slash leans forward. A blackslash leans backward. I don't know why people get this wrong so persistently. I blame Windows and it's use of 'blackslash' as a directory hierarchy separator. It's ungainly to say 'blackslash' all the time, and so people shortened it to 'slash' and now we have the current confusion. That's my theory anway.
Love your explanations! I know some basic python but the 'breadcrumbs' as you call it helped me connect it to my existing knowledge and build on it! Thank you for your work, I really appreciate it a lot. Please never stop.
Flask seems like a cool way of using python code on a website. I will more than likely be making something with this in the future. Thanks for bringing it to my attention.
Build your own Python Flask website with Linode: ntck.co/linode (get a $100 Credit good for 60 days as a new user!!)
💡💡Text walkthrough/Code/Command: ntck.co/flask
🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
0:00 ⏩ Intro
0:50 ⏩ What do you need?
2:09 ⏩ What the junk is Flask?
2:56 ⏩ Let’s get started!
8:23 ⏩ Time to build our meme website!
11:33 ⏩ Outro
But why use Python for this when you can't just use Html?
where can I find the copy & paste code for the html file? Your link to the walkthrough shows only your archiv.
@@oliver-nation4377 flask is the backend
@@lue224 does not answer my question. Why use Python when you can use Html
@@oliver-nation4377 because HTML is fronted and flask backend. You can't only use html for everything
I never expected someone to get me so excited about coding...Keep up the great work .
He's not excited for that, he's excited for the money he's making off the adds by pretending to know anything about software development.
@@autoimmune8601 ads**
@@autoimmune8601 everyone would be exiting making money. It doesnt matter if he actually knows what hes doing. It works and he inspires many young people for computer stuff. Hes earned it. What impact do you have in the world. Dont be so miserable
@@autoimmune8601 He calls himself an IT nerd, I don't think I've ever heard him call himself a software developer.
@@kyle8575 he's an ethical hacker
The herokuapp API that this tutorial depends on is no-longer working, so don't bother.
just saved me 13.59 minutes
@@Voice_at_heart Maybe you should overcome excuses and look at the post below. I followed the tutorial (and did some troubleshooting when needed) and got my memesite working. Next step getting to a remote server.
Ah dang it! I guess the meme API doesn't work anymore: after the request made with the request module, the API's server responds with 503 - Service unavailable.
HA! Fixed: in the github repository page of the API tells that the domain used in this video is no longer available due to Heroku not supporting free dynos anymore, so they provided a new domain. Just use the new domain inside the get_meme() function and everything works as intended
I love how you explain stuff with enthusiasm and fun. My first educational video which wasn't boring but very fun and exciting to watch.
I like your enthusiasm. Don't know why the average developers isn't excited about sharing what they do even when they are already seniors
I mean, I really like the style. I value the fact that you're doing all that in a linux text editor directly in the server. But in my case I totally need an IDE :)
🎯 Key Takeaways for quick navigation:
00:29 ☕ *Flask, a web application framework, is introduced. It simplifies website development with Python, making it accessible for beginners.*
01:26 💻 *Linux virtual machine from Linode is recommended for hosting the Flask website, offering fast and cost-effective cloud solutions.*
02:24 🐍 *Flask is lightweight and written in Python, providing a simple and powerful tool for web development, especially for small to medium-sized projects.*
03:25 🌐 *Flask installation and setup are demonstrated, including the installation of PIP, Flask, and the requests library for API interaction.*
07:22 🚀 *A basic Flask website is built, interacting with an API to display random memes from Reddit at the root URL. The process involves creating Python scripts and HTML templates.*
Made with HARPA AI/sum
Learning IT has never been this enjoyable! Your channel is a true game-changer.
sir and or mam, did you kill my pet hamster the other day? im not implying you did! just verifying yes / no ? Kindly regards. - eric
Thanks again! I repeat, your presentation style is beyond efficient. It’s getting hard to watch other training productions, good as they may be, because they just can’t pack as much information into a single episode. Learning from those after one of yours is like getting back into a Prius after driving a Tesla.
I worked with Flask before but I never had so much joy watching someone coding with it - hilarious! Great content!
When Chuck started becoming software engineer, now a days content related software domain but this is really important now for everyone 😎. Thank you Chuck
...what
With NetworkChuck videos, you usually just like the video before watching it; it's always going to be fun, entertaining and good knowledge.
:)
@@NetworkChuck I love the energy you transfer onto your audience. Great job!
If I had seen this intro to flask a few weeks ago it would have saved me so much time and research. Great job Chuck.
I am programming with Flask since like 4 years and I love it.
I really appreciate all your hardwork network chuck
More pls!!!!!!! I'm a computer science student, didn't know anything at first until I watched your whole 9 episode yesterday lol, it's so addicting
💀 (technoblade emoji)
@@hassii6803 gone too soon :/
I love this Guyy, you just make me enjoy coding everytime
Thank you for this video, I wasn't able to start my flask journey because of all the other typical online tutors, it always seemed a hard but now it seems nothing, you are a great teacher, and Linux influencer.
Yeah I get educated here, but the real value is the sense of inspiration I get from these videos.
I need to start learning python for my next role. I'm really excited to start now! Ty for the video! 😁
Man i really love this channel... its perfect...
This video was so much better than IBM's courses I have been taking.
As a programmer with ADHD,13 minute video full of knowledge!!,you don't know how this is super helpful..thanks man
Commented first and seem like you read my mind needed some of it thanks Chuck
I love the video you are fast and yet not too fast for a beginner like me. The humor keeps one engaged, making everything simple to understand. Thanks
I watched a tutorial on flask in the past and it was so boring I never finished it but this video is straight to the point. Good tutorial
Gotta love this man. Like giving confidence to start doing projects while at a beginner state is something thats more important than sticking to learning and getting ready for whats comming. Dont wait just go for it. Love that kind of style. Thanks NetworkChuck.
Watching Network Chuck at 745am. I might have a problem. Keep it up man. Love your videos and tutorials.
Thank you! I've been trying to decide whether to use Django or Flask, but after watching a few "getting started" tutorials on both, I'll go with Flask.
Damn the production quality is soo good every time.
5:57 - This kind of jokes makes you unique Chuck... Entertaining, funny, involving... just pure gold...
Slight correction, my dude - that's a forward slash at 4:50
This SAVED me. I was so lost in my database class but this made more sense than any of the notes!!!
Can't believe you are covering Flask. Love this channel!
I thought "dang I wish he made a video on flask" and here it is! Thank you.
I want more this exact level.
Oh man.... just started a deep dive into APIs with Flask and SqlAlchemy. And just after starting off, Chuck creates content about it. Neat, thank you man!
@networkchuck Codes are not in the comments or descriptions for copy and paste. the link you posted is essentially your show notes.
LOL im currently learnin python on my own and and this video got me excited way to much!! TY NETWORKCHUCK
thank you, bro.
I didn't know anything about flask until I saw this video and I appreciate it.
love from Iran ❤❤
You are like that friend in school that helped you during class when you wouldn't understand the teacher. Sometimes i would understand my friend more than the teacher. LOL
But you're a great teacher by the way. All this month I'll be learning from you my friend, Python is especially what i'm starting with.
This amazing man helped me in my studies alot🤝 . Great Work keep it up💪
This guy can teach whole computer science in 5 hrs
I love it! Im using python for my api but not yet on a website using flask as the web framework. Hope to see more contents about python + api + flask ❤️
Such an excellent video. I have started building with a flask, and following your explanation was smooth! Thank you!
It's like you are in my mind, chuck. I was just about to learn flask.
Chuck my guy I’ve been waiting for this one !!
Having a coffee .... and watching your video about a topic which I am on during these days. :D Thank you.
3:00 Server setup ( flask install needs venv!)
7:24 html+script
this confuse me.
if I can create website using flask.
is the project website I created using flask is front end or back end?
Because based on my understanding.
Front end is the this client use to interact on the system using the website with buttons etc.
then back end is more on database where data inputted by client is stored.
Pretty darn cool. It looks like flask is very similar to Express in NodeJS. Very useful, thanks for sharing Chuck.
Your pace, info, voice ... it all matches what i'm looking for. Thank you for your hard work !
send_file is also an option if you don't want to put them in the templates folder. Idk why you should do that for just html, but I'm just saying.
This is such a coincidence I’m on a cohort at the moment on the cloud devops specialisms , and all your recent videos are exactly related to my end project , we have to build a web app with flask that has CRUD functionality and is connected to a database and we have to build it using sql academy. Your videos are actually helping to get me through this. I’m a complete beginner and I appreciate your way of teaching
Wow chuck, you make coding and development soo much interesting 🔥♥️ loved it. You cover so much awesome topics which I am passionate about like ethical hacking, scripting, certs, knowledge about tailoring resume, cloud, projects, Cybersecurity, Networking and soo much more. I'm so glad I found your channel, you are my inspiration that boosts my enthusiasm towards IT Security and IT as career. Please don't stop making such awesome knowledge content of Geeks like us.❤️❤️
This man is a living advertisement board
This is really cool, Flask has been on my to do list to learn for a year now. Thanks Chuck!
I love working with Flask. I thought Python was fantastic, but I must admit learning Flask added several stars to my opinion to Python.
this just came into to my mind and chuck uploaded 1 hour after perfect
i didn't expect much but that's actually a really inspiring video
Awesome video!
Cant wait for the video called "You Need To Make Your Own CRM RIGHT NOW".
been waiting for this one
Greetings from Papua New Guinea 🇵🇬, love your videos.
ok, I needed this, thanks man
Chuck, you've turned into one of my favourite UA-camrs 😊
Love your videos 😍😍🔥 your channel is superb 🤩🤩
Wow. right as I started learning Flask, NetworkChuck releases a new video on it.
Super Video Chuck Your videos are awesome And informative Chuck
Bro, I love this. Please, make part 2 as fast as possible.
Love your teaching style, it really boosted my python learning experience! There’s a lot of twitter bot tutorials and I’ve covered some ground on my project, but I’ve hit some road blocks that I think one of your videos could really help. I’m already in twitter dev portal and I successfully accessed twitter API. Can we get a twitter bot video????
Twitter has become a bot battleground.
please make part 2 networkchuck. I love this short videos
Broo that's amazing plzz give us more videos on flask so we can gradually improve with you🎉❤
This couldnt come at better time! Literally building my first portal for work
Hey Chuck, I was wondering, can I use a virtualenv as a substitute to Linode or a Linux Computer for this tutorial? Im not sure how to create a Linux Computer, nor do I want to pay for Linode, but a virtualenv seems to do the same job. Idk, Im not an expert ofc
These stupid WhatsApp scammers in the comments are THE WORST :| Scumbags
I think you can use a virtualenv and that's what I've been doing to follow along. I got the first part all set up and working however I am getting an error in regards to the requests import. I am using VScode and I get an error message that says 'Import "requests" could not be resolved from source Pylance' even though I have run 'pip install requests' in the venv. Chuck's got a very loving relationship with his sponsor Linode and so all his tutorials take place on a virtual machine on Linode... or if its a different sponsor, then on a raspberry pi.
@@mascatrails661 Have you written "from flask import requests"?
@@migasgt638 thanks for the response. Upon your suggestion I tried that and got an error: "ImportError: cannot import name 'requests' from 'flask'" I think its just supposed to be 'import requests' without the 'from flask' and yes, I do have the import line in my meme_flask.py file and I've run 'pip install requests' in the venv then tried to troubleshoot by 'pip uninstall requests' and reinstalling again. I've also made sure I'm up to date on pip and python.
Great video, i love your passion when teaching new stuff
You're good at teaching this, everything is explained well with the illustrations.
Hello networkchuck !
i created same thing i m getting this error while running...
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
really helpful!! I didn't know that our HTML pages should be in a templates directory!!
I appreciate your videos, but PLEASE use the correct names for characters. You called the forwardslash a "backslash" twice 4:51 5:25 (also, your double quotes turned into single quotes without any explanation 5:41), and you called curly braces "brackets" which commonly means square brackets. Keep up the great videos, but please avoid confusion with the names.
I'll get control of myself.
😂
It's crazy how I learnt everything about Flask from one short video compared to 1hr videos. Is network chuck a wizard?
Chuck, you are hero. Thank you
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Love your video’s man
So I remember in a previous video you said that you were employed in I.T. My question is is Python the primary language you used out were there others?
Awesome! Right on the spot!
Which tool did you use for drawing on the screen?
Thank you NetworkChuck you are the best
I am a senior PHP dev. Love the concept in python.
love ur videos ❤❤
My hat is off to you my friend! Incredibly good video about Python and Flask Bravo!
Really like your content chuk!
😁😁😂you never disappoint
5:30 - That is a forward slash. A forward slash leans forward. A blackslash leans backward. I don't know why people get this wrong so persistently.
I blame Windows and it's use of 'blackslash' as a directory hierarchy separator. It's ungainly to say 'blackslash' all the time, and so people shortened it to 'slash' and now we have the current confusion. That's my theory anway.
Love your explanations! I know some basic python but the 'breadcrumbs' as you call it helped me connect it to my existing knowledge and build on it! Thank you for your work, I really appreciate it a lot. Please never stop.
hey Chuck, love your content!
5:36 this always pops in my head as a reminder
Flask seems like a cool way of using python code on a website. I will more than likely be making something with this in the future. Thanks for bringing it to my attention.
I liked the first thumbnail chuck
Wait for u completed pointers and other Python topics I have been waiting for other eps
You really make me love Coding! You are Great Man!!! Thanks!
Chuck what do you say Flask or Django?Thanks much!!
This guy has STRONG Drawsquad energy😂
I haven’t used Flask in a hot minute… but I’ve been loving FastAPI 😅