Building Websites With Flask - Python and Flask #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • How To Build Websites with Python and Flask! In this videos I'll walk you through building a very basic website with Flask. You'll see just how easy it is to get started with this powerful web framework!
    Python is great, and building websites with Python is even better! Flask makes it super easy to build websites with Python quickly and easily. In this video I'll introduce you to flask, show you how to install it, and how to create a simple web app with it.

ความคิดเห็น • 145

  • @Codemycom
    @Codemycom  4 ปีที่แล้ว +3

    ▶️ Watch Entire Flask Playlist ✅ Subscribe To My TH-cam Channel:
    bit.ly/2TU96lm bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com
    Take $30 off with coupon code: youtube1

    • @rangabharath4253
      @rangabharath4253 4 ปีที่แล้ว +1

      Thank you so much

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      @@rangabharath4253 Thanks for watching!

    • @buddyudoh
      @buddyudoh 4 ปีที่แล้ว

      Thanks so much. No source code.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +3

      @@buddyudoh There were 12 lines of code...you really need source code for that? lol

    • @buddyudoh
      @buddyudoh 4 ปีที่แล้ว

      @@Codemycom lol.

  • @himanshushukla787
    @himanshushukla787 3 ปีที่แล้ว +2

    You have literally the best flask course on TH-cam

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +2

      Thanks! I'm working on more of them :-)

  • @df6148
    @df6148 ปีที่แล้ว +1

    What I find useful the most is that even if I don’t use the exact frameworks or exact setup I still got a great over conceptual understanding of what’s going on from these videos. For example: instead of learning the specifics of a library to run a backend flask site. I learn the main components for setting up a site. Like instead of learning Olive Gardens exact Spaghetti. I learn that we need to have noodles, marinara, meatballs and some cheese. I learn we need to boil water for the noodles at some point. I learn we need to brown the meat. Etc… it’s these overall conceptual gems that really help me learn more than the exact doing of something. I’m an overview type of person. I like to boil complicated things down to “oh so you mean create a login”. Somebody might say “oh I have an XYZ-ModelABCDEFG Video card” and I’ll be like “oh you mean an Video card with 8G of memory in it?”. And that’s what I like about these videos.

    • @Codemycom
      @Codemycom  ปีที่แล้ว +1

      Nice! Glad you're enjoying them!

  • @linusjohansson3164
    @linusjohansson3164 3 ปีที่แล้ว +16

    It would be really helpful if you could make all the code for this flask playlist available somewhere.

  • @christinemaynard9025
    @christinemaynard9025 4 ปีที่แล้ว +9

    I'm so happy I found your channel. Yes, thumbs up for the algorithm lol

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +3

      Welcome aboard!

    • @nickochoa2480
      @nickochoa2480 2 ปีที่แล้ว

      Thumbs up on this comment for the algorithm

  • @TechWithSabri
    @TechWithSabri 4 ปีที่แล้ว +2

    thank you so much for your Django tutorial it helped me a lot
    i hope you keep going and good luck in your life (programming also )
    so let's start with flask . to be continue . . .
    hi again this is just an update for my comment i want to tell you guys please if you want to start directly with Flask (in my opinion ) don't do that
    start firstly with django than you can go with flask
    ------------why? ----------------
    Django its goal is to ease the creation of complex, database-driven websites.
    Flask has a route decorator, which is used to bind URL to a function, making application URLs easier to remember for a user.
    so for harder to easier better than the opposite.
    (I am sorry, I made some mistakes)
    good luck
    thnks Djohn

  • @shivakumar7578
    @shivakumar7578 4 ปีที่แล้ว +3

    I really thought about flask today .
    Happy to see tutorials .
    I request you to upload more tutorials

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +4

      I'll definitely be uploading more Flask videos.

  • @keseanrichardson6316
    @keseanrichardson6316 4 ปีที่แล้ว +1

    this video has helped me alot i spent the entire day following this tutorial and i made my own changes to the site i will be following your channel keep up the great work i love the simplicity

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Glad it helped!

  • @EricBURASANZWE
    @EricBURASANZWE 11 หลายเดือนก่อน

    I appreciate your teaching methodology is really so understandable. Much respect Sir

    • @Codemycom
      @Codemycom  11 หลายเดือนก่อน

      Thanks!

  • @adrianpilea5108
    @adrianpilea5108 3 ปีที่แล้ว +1

    To be honest, without you I would have been giving up learining to code already.. Thank you so much!

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +2

      Glad I could help!

  • @nichancizzy8011
    @nichancizzy8011 4 หลายเดือนก่อน +1

    when i open about it says 404 not found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. but if i open from my folder it opens how do i fix this?

    • @Codemycom
      @Codemycom  4 หลายเดือนก่อน

      compare your code to the video to discover what you did wrong.

    • @nichancizzy8011
      @nichancizzy8011 4 หลายเดือนก่อน

      I can’t find anything I did wrong…

    • @Codemycom
      @Codemycom  4 หลายเดือนก่อน +1

      @@nichancizzy8011 put it aside for a few days and recheck it with fresh eyes.

    • @azrahasan-c6x
      @azrahasan-c6x 2 หลายเดือนก่อน

      @@Codemycom same problem for me !

  • @fadyghalayiny1920
    @fadyghalayiny1920 4 ปีที่แล้ว +1

    great tutorial please keep publishing flask tutorials. I smashed like

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Thanks! I'm publishing another flask video tomorrow!

  • @monkgreensky2429
    @monkgreensky2429 3 ปีที่แล้ว +1

    Thank you Mr Heisenberg

  • @tebeckcollins9720
    @tebeckcollins9720 ปีที่แล้ว

    Very helpful. Thank you 🙏

  • @pankajkcodes
    @pankajkcodes 3 ปีที่แล้ว

    good video for learn flask

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Glad you think so!

  • @TechWithSabri
    @TechWithSabri 4 ปีที่แล้ว

    thnks sir
    in your opinion witch the best for web development django or flask ?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      It depends entirely on what you're trying to build...there is no "best"

    • @TechWithSabri
      @TechWithSabri 4 ปีที่แล้ว

      @@Codemycom
      okey sir thnk you so much for helping

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      @@TechWithSabri Sure thing! Play with them both and use the one you like better ;-)

    • @TechWithSabri
      @TechWithSabri 4 ปีที่แล้ว

      @@Codemycom
      yes this is the best solution i will use it after django.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      @@TechWithSabri Cool

  • @ma.valentinaprieto9160
    @ma.valentinaprieto9160 3 ปีที่แล้ว

    You are so awesome!!!!! Thank you so much, helped me a lot for my uni project!

  • @emilracki4889
    @emilracki4889 4 ปีที่แล้ว

    Like button smashed sir.

  • @clearroad6495
    @clearroad6495 4 ปีที่แล้ว +1

    I will like to see the same work with Django. Thanks. I really appreciate your work.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      I have tons of Django videos on my channel already. Just look.

    • @clearroad6495
      @clearroad6495 4 ปีที่แล้ว +1

      @@Codemycom okay.

  • @tomaspinolini1718
    @tomaspinolini1718 2 ปีที่แล้ว

    love the energy man

  • @parthdutta8758
    @parthdutta8758 2 ปีที่แล้ว

    while pasting localhost url after using index.html, getting an error saying, "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". Any help

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      You did something wrong but I couldn't guess what. Rewatch the video and follow along more closely.

  • @drdebi8296
    @drdebi8296 2 ปีที่แล้ว

    keep up the good work men. thanks

  • @Ardassali
    @Ardassali 2 ปีที่แล้ว

    Thanks Mr. White

  • @abcefg7045
    @abcefg7045 2 ปีที่แล้ว

    Amazing video I love this. Sir, I want to contribute to open-source and I am completely new in it, is learning flask enough to start with, or do I need to do all backend programming languages

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      It depends on what open-source thing you want to contribute to.

  • @kvniranjan12
    @kvniranjan12 3 ปีที่แล้ว

    Think if debug mode is on on the flask server u need not reload the server..

  • @abcefg7045
    @abcefg7045 2 ปีที่แล้ว

    Sir, I used the navbar code in the bootstrap but did not get the output correctly

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Re-watch the video and try again :-)

  • @shubhamsahai2829
    @shubhamsahai2829 3 ปีที่แล้ว +1

    Can I use cmd prompt ?

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Why in the world would you want to? No. The commands won't be the same.

  • @mujassimjamal24
    @mujassimjamal24 4 ปีที่แล้ว +1

    Sir, plz bring a video about how to build an app and publish on to play store. Thank you ❤

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Sorry, I don't know anything about the play store.

    • @mujassimjamal24
      @mujassimjamal24 4 ปีที่แล้ว

      Means how to publish an app on internet?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +3

      @@mujassimjamal24 You need webhosting...like heroku or digital ocean

    • @mujassimjamal24
      @mujassimjamal24 4 ปีที่แล้ว

      Ok thank you sir ❤❤❤

  • @ryanhagerty6445
    @ryanhagerty6445 4 ปีที่แล้ว +1

    Turn debug on so you dont have to close out of the server after each change.. A save will do it

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Yeah keep watching...

  • @Renagade01
    @Renagade01 2 ปีที่แล้ว

    can you send a file of that index part ? its not int bootstrap anymore

  • @timhyde2622
    @timhyde2622 2 ปีที่แล้ว

    thanks walter

  • @r0ckst3ady1
    @r0ckst3ady1 3 ปีที่แล้ว

    Thanks for this

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Glad you like it!

  • @tranduydat
    @tranduydat 4 ปีที่แล้ว

    Very clear 🔥

  • @glowingwolf
    @glowingwolf 4 ปีที่แล้ว +1

    Can we step back for a moment?
    Where are the benefits of not using this and building the site only with HTML and css?
    Is there already a vid about it?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      HTML and CSS don't allow you to do anything dynamic. No database stuff...also, you need some sort of server to run html and css....using a framework like Flask, or Django, or Rails...handles all that stuff.

  • @CapitanJusticia
    @CapitanJusticia 4 ปีที่แล้ว

    Hi, I keep getting "This site can’t be reached127.0.0.1 refused to connect" using Sublime and Git bash. But it does work using Spyder, but unfortunately Spyder does not have the 'add folder to project' for the following step where you add the HTML template and that makes it hard to follow along. Any assistance would be appreciated, thank you.

    • @CapitanJusticia
      @CapitanJusticia 4 ปีที่แล้ว

      I finally got it to work! Not sure why it finally worked but so happy it did! :):)

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      you need to make sure the server is running in the terminal

    • @CapitanJusticia
      @CapitanJusticia 4 ปีที่แล้ว

      @@Codemycom Thank you! Is there a way to update a library in Sublime? I see that Sublime does not accept 'import joblib' when I use 'Tools -> Build'. Instead it only accepts 'from sklearn.externals import joblib', which I believe is deprecated. Thanks again!

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      @@CapitanJusticia Sublime is just a text editor, you don't add libraries to it. If you want to add things like that, do it in your terminal (I use git bash, git-scm.com) in the normal pip install way...

    • @CapitanJusticia
      @CapitanJusticia 4 ปีที่แล้ว

      @@Codemycom I see. Thank you again! Your videos are amazing!

  • @CapitanJusticia
    @CapitanJusticia 4 ปีที่แล้ว

    Did anyone else get a pop up window in Sublime telling you they're using an evaluation version and asking if you want to purchase it? How can we keep using it for free?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      just click cancel

  • @aashiagarwal9870
    @aashiagarwal9870 4 ปีที่แล้ว

    How to fix the error Permission denied. This error comes when i type python -m venv virtual on git bash

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Reinstall python correctly. Click the "Add Python to path" box during installation.

  • @yousifahmed257
    @yousifahmed257 4 ปีที่แล้ว

    Amazing

  • @sarthakkhare4600
    @sarthakkhare4600 3 ปีที่แล้ว

    Why there is only 11 videos in this flask series Sir tell me?

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +1

      That's all it took for me to explain what I wanted to explain. I'm about to start a new flask series very soon

    • @sarthakkhare4600
      @sarthakkhare4600 3 ปีที่แล้ว +1

      @@Codemycom Okay Sir thank you I am eagerly waiting for your flask series..

  • @akramelomrani8728
    @akramelomrani8728 4 ปีที่แล้ว

    We shouldnt create the python file in the virtual env directory ?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      No, that directory is irrelevant.

  • @nowyouknow2249
    @nowyouknow2249 4 ปีที่แล้ว

    Once again
    Thank you

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Once again, thanks for watching! ;-)

  • @bosilee7688
    @bosilee7688 3 ปีที่แล้ว

    you make it look so damn easy. Thank you!

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +1

      You're welcome!

  • @BagusSulistyo
    @BagusSulistyo 4 ปีที่แล้ว

    thank , this is cool

  • @shivakumar7578
    @shivakumar7578 4 ปีที่แล้ว

    Thank you sir

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Thanks for watching!

  • @Schecter1989
    @Schecter1989 4 ปีที่แล้ว

    I can't see this course on the codemy.com site...

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      It's not a course on codemy.com the whole thing is free on youtube

  • @AyushTrivedi-cx2mh
    @AyushTrivedi-cx2mh 2 ปีที่แล้ว

    it tells me that bash: python: command not found

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      sounds like you didn't add Python to path during installation

  • @mostmojo
    @mostmojo 3 ปีที่แล้ว

    Legend

  • @pikachubooo4308
    @pikachubooo4308 3 ปีที่แล้ว

    Any tutorial on how to make http as https

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +1

      No that depends entirely on your web hosting provider and how they handle SSL certificates

  • @bereketman771
    @bereketman771 2 ปีที่แล้ว

    the index file is not working

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      rewatch the video and try to determine what you missed

  • @chloecui2774
    @chloecui2774 3 ปีที่แล้ว

    how to open?

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      How to open what? Keep watching the series.

  • @hepontour
    @hepontour 4 ปีที่แล้ว

    Can you put this course on CodeMy.com please...and do even more course material for beginners Flask...like your Excellent Django courses. Many Thanks.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Yes, soon I'll be creating a flask course that will go on codemy and be expanded.

    • @hepontour
      @hepontour 4 ปีที่แล้ว

      @@Codemycom Thanks you very much, Loving all your courses as they especially resonate for beginners...like me.

  • @antukhan5592
    @antukhan5592 4 ปีที่แล้ว

    thanks

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      You're very welcome!

  • @technoinfoworldwide2329
    @technoinfoworldwide2329 4 ปีที่แล้ว

    make movie uploading or videos uploading websites having categories,tags etc using django

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      That would be interesting

    • @technoinfoworldwide2329
      @technoinfoworldwide2329 4 ปีที่แล้ว

      @@Codemycom yes sir,it would be really new topic for us.hope you will make movie uploading sit project😊

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      @@technoinfoworldwide2329 We'll see!

  • @mvisnjic
    @mvisnjic 3 ปีที่แล้ว

    Walter White junior xd

  • @ReganMilne
    @ReganMilne 4 ปีที่แล้ว +1

    Great videos but cannot connect to 127.0.0.1:5000

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Your server always needs to be running in the terminal if you want to see the site in the browser

  • @azrahasan-c6x
    @azrahasan-c6x 2 หลายเดือนก่อน

    when i open about it says 404 not found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. but if i open from my folder it opens how do i fix this?

    • @Codemycom
      @Codemycom  2 หลายเดือนก่อน

      Rewatch the video and discover what you did wrong in your code

    • @nichancizzy8011
      @nichancizzy8011 2 หลายเดือนก่อน

      Same problem! There’s nothing wrong please go and check if it’s outdated and solution!!