build a meme Python website (Flask Tutorial for Beginners)

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 552

  • @NetworkChuck
    @NetworkChuck  2 роки тому +65

    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

    • @oliver-nation4377
      @oliver-nation4377 2 роки тому +1

      But why use Python for this when you can't just use Html?

    • @forestradio_
      @forestradio_ 2 роки тому +27

      where can I find the copy & paste code for the html file? Your link to the walkthrough shows only your archiv.

    • @lue224
      @lue224 2 роки тому

      ​@@oliver-nation4377 flask is the backend

    • @oliver-nation4377
      @oliver-nation4377 2 роки тому

      @@lue224 does not answer my question. Why use Python when you can use Html

    • @lue224
      @lue224 2 роки тому +5

      @@oliver-nation4377 because HTML is fronted and flask backend. You can't only use html for everything

  • @nomadontherun_
    @nomadontherun_ 2 роки тому +300

    I never expected someone to get me so excited about coding...Keep up the great work .

    • @autoimmune8601
      @autoimmune8601 2 роки тому +18

      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.

    • @niklas.251
      @niklas.251 2 роки тому +5

      @@autoimmune8601 ads**

    • @herrroin6867
      @herrroin6867 2 роки тому +30

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

    • @kyle8575
      @kyle8575 2 роки тому +8

      @@autoimmune8601 He calls himself an IT nerd, I don't think I've ever heard him call himself a software developer.

    • @spiderko6267
      @spiderko6267 2 роки тому +1

      @@kyle8575 he's an ethical hacker

  • @CraigJ2003
    @CraigJ2003 Рік тому +83

    The herokuapp API that this tutorial depends on is no-longer working, so don't bother.

    • @Voice_at_heart
      @Voice_at_heart Місяць тому +2

      just saved me 13.59 minutes

    • @etherainfinia
      @etherainfinia 7 днів тому

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

  • @RussellTeapot
    @RussellTeapot Рік тому +18

    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

  • @AhmadKhalidNasrat
    @AhmadKhalidNasrat Рік тому +18

    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.

  • @codeklaudia9696
    @codeklaudia9696 Рік тому +4

    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

    • @codeklaudia9696
      @codeklaudia9696 Рік тому +1

      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 :)

  • @kokeofficial1952
    @kokeofficial1952 Рік тому +2

    🎯 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

  • @FenilPatel-n8b
    @FenilPatel-n8b 10 місяців тому +3

    Learning IT has never been this enjoyable! Your channel is a true game-changer.

    • @OikPoinFive
      @OikPoinFive 6 місяців тому

      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

  • @mbunds
    @mbunds 2 роки тому +29

    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.

  • @patricktosolini6655
    @patricktosolini6655 2 роки тому +4

    I worked with Flask before but I never had so much joy watching someone coding with it - hilarious! Great content!

  • @KRICHAN_Technologies
    @KRICHAN_Technologies 2 роки тому +7

    When Chuck started becoming software engineer, now a days content related software domain but this is really important now for everyone 😎. Thank you Chuck

  • @eagle36791
    @eagle36791 2 роки тому +9

    With NetworkChuck videos, you usually just like the video before watching it; it's always going to be fun, entertaining and good knowledge.

    • @NetworkChuck
      @NetworkChuck  2 роки тому +6

      :)

    • @eagle36791
      @eagle36791 2 роки тому

      @@NetworkChuck I love the energy you transfer onto your audience. Great job!

  • @mattyharkin5787
    @mattyharkin5787 7 місяців тому +1

    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.

  • @LukieHZX
    @LukieHZX 2 роки тому +2

    I am programming with Flask since like 4 years and I love it.

  • @sadiqumar4921
    @sadiqumar4921 2 роки тому +6

    I really appreciate all your hardwork network chuck

  • @James42_
    @James42_ 2 роки тому +13

    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

    • @hassii6803
      @hassii6803 2 роки тому

      💀 (technoblade emoji)

    • @James42_
      @James42_ 2 роки тому

      @@hassii6803 gone too soon :/

  • @alessiacarter2553
    @alessiacarter2553 2 роки тому +8

    I love this Guyy, you just make me enjoy coding everytime

  • @rajdeepverma360
    @rajdeepverma360 4 місяці тому

    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.

  • @joshngarcia
    @joshngarcia Рік тому +1

    Yeah I get educated here, but the real value is the sense of inspiration I get from these videos.

  • @ellie_cr
    @ellie_cr 2 роки тому +8

    I need to start learning python for my next role. I'm really excited to start now! Ty for the video! 😁

  • @Sigge86
    @Sigge86 2 роки тому +4

    Man i really love this channel... its perfect...

  • @canygard
    @canygard 19 днів тому

    This video was so much better than IBM's courses I have been taking.

  • @mrrobot-mn6re
    @mrrobot-mn6re 8 місяців тому

    As a programmer with ADHD,13 minute video full of knowledge!!,you don't know how this is super helpful..thanks man

  • @abidakunsamuel601
    @abidakunsamuel601 2 роки тому +3

    Commented first and seem like you read my mind needed some of it thanks Chuck

  • @francisguchie1973
    @francisguchie1973 2 місяці тому

    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

  • @2000krzysztof
    @2000krzysztof 2 роки тому +3

    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

  • @burz4124
    @burz4124 11 місяців тому

    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.

  • @Kay.lon.
    @Kay.lon. 2 роки тому +2

    Watching Network Chuck at 745am. I might have a problem. Keep it up man. Love your videos and tutorials.

  • @j00f
    @j00f 9 днів тому

    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.

  • @yrusnuke2647
    @yrusnuke2647 2 роки тому +6

    Damn the production quality is soo good every time.

  • @cacurazi
    @cacurazi Рік тому

    5:57 - This kind of jokes makes you unique Chuck... Entertaining, funny, involving... just pure gold...

  • @SamAndrew27
    @SamAndrew27 2 роки тому +4

    Slight correction, my dude - that's a forward slash at 4:50

  • @obsidiangarbage6741
    @obsidiangarbage6741 Рік тому

    This SAVED me. I was so lost in my database class but this made more sense than any of the notes!!!

  • @marcoaltomare4030
    @marcoaltomare4030 2 роки тому +1

    Can't believe you are covering Flask. Love this channel!

  • @LeeLee-fs9mv
    @LeeLee-fs9mv Рік тому

    I thought "dang I wish he made a video on flask" and here it is! Thank you.
    I want more this exact level.

  • @UavDasher
    @UavDasher 2 роки тому

    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!

  • @cpubugs
    @cpubugs 2 роки тому +4

    @networkchuck Codes are not in the comments or descriptions for copy and paste. the link you posted is essentially your show notes.

  • @AEURRR
    @AEURRR 2 роки тому +1

    LOL im currently learnin python on my own and and this video got me excited way to much!! TY NETWORKCHUCK

  • @blazeking9698
    @blazeking9698 Рік тому

    thank you, bro.
    I didn't know anything about flask until I saw this video and I appreciate it.
    love from Iran ❤❤

  • @marioalberto34844
    @marioalberto34844 2 роки тому

    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.

  • @ramirulomin
    @ramirulomin 2 роки тому +4

    This amazing man helped me in my studies alot🤝 . Great Work keep it up💪

  • @NileshAkhade
    @NileshAkhade 2 роки тому +1

    This guy can teach whole computer science in 5 hrs

  • @rogerjensen660
    @rogerjensen660 2 роки тому +5

    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 ❤️

  • @brunobondarovsky2247
    @brunobondarovsky2247 3 місяці тому

    Such an excellent video. I have started building with a flask, and following your explanation was smooth! Thank you!

  • @inithinx
    @inithinx 2 роки тому +2

    It's like you are in my mind, chuck. I was just about to learn flask.

  • @MrCmp2390
    @MrCmp2390 2 роки тому

    Chuck my guy I’ve been waiting for this one !!

  • @no0bstyle741
    @no0bstyle741 2 роки тому +1

    Having a coffee .... and watching your video about a topic which I am on during these days. :D Thank you.

  • @johndoe-is2fw
    @johndoe-is2fw Рік тому

    3:00 Server setup ( flask install needs venv!)
    7:24 html+script

  • @leomaredcampos4941
    @leomaredcampos4941 11 місяців тому +3

    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.

  • @photorealm
    @photorealm 27 днів тому

    Pretty darn cool. It looks like flask is very similar to Express in NodeJS. Very useful, thanks for sharing Chuck.

  • @Yarisken12
    @Yarisken12 2 роки тому +4

    Your pace, info, voice ... it all matches what i'm looking for. Thank you for your hard work !

  • @tycho1129
    @tycho1129 2 роки тому +2

    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.

  • @GerzArmy
    @GerzArmy 2 роки тому

    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

  • @devanshkanda9618
    @devanshkanda9618 2 роки тому +8

    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.❤️❤️

  • @cjoshy
    @cjoshy Рік тому +1

    This man is a living advertisement board

  • @artkrueger8312
    @artkrueger8312 2 роки тому

    This is really cool, Flask has been on my to do list to learn for a year now. Thanks Chuck!

  • @MyTubeAIFlaskApp
    @MyTubeAIFlaskApp Рік тому +1

    I love working with Flask. I thought Python was fantastic, but I must admit learning Flask added several stars to my opinion to Python.

  • @justanormalguy959
    @justanormalguy959 2 роки тому

    this just came into to my mind and chuck uploaded 1 hour after perfect

  • @melchiorr_
    @melchiorr_ Рік тому +1

    i didn't expect much but that's actually a really inspiring video

  • @78wesley67
    @78wesley67 2 роки тому +1

    Awesome video!
    Cant wait for the video called "You Need To Make Your Own CRM RIGHT NOW".

  • @Labuly
    @Labuly 2 роки тому

    been waiting for this one

  • @heekambaiya6416
    @heekambaiya6416 2 роки тому +1

    Greetings from Papua New Guinea 🇵🇬, love your videos.

  • @AuthExploited
    @AuthExploited 2 роки тому +1

    ok, I needed this, thanks man

  • @mikaidev
    @mikaidev 8 місяців тому

    Chuck, you've turned into one of my favourite UA-camrs 😊

  • @hridaybhatia5643
    @hridaybhatia5643 2 роки тому +3

    Love your videos 😍😍🔥 your channel is superb 🤩🤩

  • @ezweber_the_great
    @ezweber_the_great 2 роки тому

    Wow. right as I started learning Flask, NetworkChuck releases a new video on it.

  • @Asherstitusworld
    @Asherstitusworld 2 роки тому +3

    Super Video Chuck Your videos are awesome And informative Chuck

  • @ettahadpanto3363
    @ettahadpanto3363 2 роки тому +4

    Bro, I love this. Please, make part 2 as fast as possible.

  • @AxiomPrime69
    @AxiomPrime69 2 роки тому +17

    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????

    • @dakoderii4221
      @dakoderii4221 2 роки тому

      Twitter has become a bot battleground.

  • @faysalarab
    @faysalarab 2 роки тому

    please make part 2 networkchuck. I love this short videos

  • @Noumanii2917
    @Noumanii2917 6 місяців тому

    Broo that's amazing plzz give us more videos on flask so we can gradually improve with you🎉❤

  • @shacosby8988
    @shacosby8988 2 роки тому

    This couldnt come at better time! Literally building my first portal for work

  • @migasgt638
    @migasgt638 2 роки тому +2

    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

    • @kidacrimson1204
      @kidacrimson1204 2 роки тому

      These stupid WhatsApp scammers in the comments are THE WORST :| Scumbags

    • @mascatrails661
      @mascatrails661 2 роки тому

      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
      @migasgt638 2 роки тому

      @@mascatrails661 Have you written "from flask import requests"?

    • @mascatrails661
      @mascatrails661 2 роки тому

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

  • @SaadShah1133
    @SaadShah1133 2 роки тому +3

    Great video, i love your passion when teaching new stuff

  • @marcusgarvey8668
    @marcusgarvey8668 Рік тому

    You're good at teaching this, everything is explained well with the illustrations.

  • @deveshbardia5865
    @deveshbardia5865 2 роки тому +2

    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.

  • @neezythewriter
    @neezythewriter 3 місяці тому

    really helpful!! I didn't know that our HTML pages should be in a templates directory!!

  • @ChodaBoyUSA
    @ChodaBoyUSA 2 роки тому +10

    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.

  • @jakeihekona7018
    @jakeihekona7018 2 роки тому +2

    It's crazy how I learnt everything about Flask from one short video compared to 1hr videos. Is network chuck a wizard?

  • @samautoeld8931
    @samautoeld8931 2 роки тому +1

    Chuck, you are hero. Thank you

  • @Prongsie2
    @Prongsie2 Рік тому +3

    Not Found
    The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

  • @yiay2.086
    @yiay2.086 2 роки тому +2

    Love your video’s man

  • @D34TH-C0D3
    @D34TH-C0D3 2 роки тому +1

    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?

  • @devops-sushi5534
    @devops-sushi5534 10 місяців тому

    Awesome! Right on the spot!
    Which tool did you use for drawing on the screen?

  • @jetboyabordaje3741
    @jetboyabordaje3741 6 місяців тому

    Thank you NetworkChuck you are the best

  • @expertonion
    @expertonion 9 місяців тому

    I am a senior PHP dev. Love the concept in python.

  • @devanshtripathi7234
    @devanshtripathi7234 2 роки тому +1

    love ur videos ❤❤

  • @MsHenryoh
    @MsHenryoh Рік тому

    My hat is off to you my friend! Incredibly good video about Python and Flask Bravo!

  • @codingformeals
    @codingformeals 2 роки тому

    Really like your content chuk!
    😁😁😂you never disappoint

  • @Omnifarious0
    @Omnifarious0 2 роки тому

    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.

  • @bfmvshinigami
    @bfmvshinigami 2 роки тому

    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.

  • @tobeyparker5601
    @tobeyparker5601 Рік тому

    hey Chuck, love your content!

  • @raedbedouihch
    @raedbedouihch Рік тому

    5:36 this always pops in my head as a reminder

  • @oliver1121
    @oliver1121 2 роки тому

    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.

  • @SpeedyRacist
    @SpeedyRacist 2 роки тому

    I liked the first thumbnail chuck

  • @bruhhh-__-
    @bruhhh-__- 2 роки тому +1

    Wait for u completed pointers and other Python topics I have been waiting for other eps

  • @georgiosroidis
    @georgiosroidis 2 роки тому

    You really make me love Coding! You are Great Man!!! Thanks!

  • @ai.aspirations
    @ai.aspirations Рік тому +1

    Chuck what do you say Flask or Django?Thanks much!!

  • @NathanBowmanMusic
    @NathanBowmanMusic Рік тому

    This guy has STRONG Drawsquad energy😂

  • @skysaville
    @skysaville 2 роки тому

    I haven’t used Flask in a hot minute… but I’ve been loving FastAPI 😅