Flask Tutorial #1 - How to Make Websites with Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

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

  • @TechWithTim
    @TechWithTim  ปีที่แล้ว +13

    Start a high paying tech career making $60k+/year with NO DEBT: coursecareers.com/a/techwithtim

  • @theunsbooysen5063
    @theunsbooysen5063 5 ปีที่แล้ว +89

    Thanks Tim,this is so nice...Here's what i would like to see from the series:
    adding images,adding rows and columns,drop down menus,let the user add a comment on something and leave a rating.

  • @jv2-k9n
    @jv2-k9n 3 ปีที่แล้ว +8

    I have started learning Python these past few months and have a lot to thank Tim for his content.

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

    Thanks for your videos. I've been programming (at work and as hobby) for more than 2 years now. For all this time, I built several mini projects on various areas (ML & DL models, algorithm visualization, asynchronous tasks, server-client network, multiprocessing, game development, etc.) EXCEPT for web development. You break down the concepts really nicely and all the pieces seem to fit well together.

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

    Sir, I don't know why TH-cam isn't showing this playlist in search results but this is the bestestest tutorial I find out in the whole internet. Thank you, thank you for making this course.. ❤️

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

    I just wanted to thank you for this information.
    It was actually perfect for what I was looking for!
    A simple starting point that was easily understood and tested.
    I learned a ton about web development when I was younger (started learning at age 12) but only stuck with it for about 4 years and slowly lost interest. (So angry with myself for not sticking it out)
    I have been getting back into web-dev mainly because I really enjoy learning and playing with Python. Such a neat and clean multi-purpose language.

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

    The tag is . . .
    Nevermind, we learn python here.

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

      The tag is. . .
      Isn't this tag to make the letter smaller or larger?

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

      @@quandoeuforrico It is to make the text larger

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

      @@quandoeuforrico Larger

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

      @@theboiyoulove5124 yep

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

      @@quandoeuforrico Basically h1 is the largest Heading tag.

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

    It's exact tutorials I'm looking for. I like the speed of tutorial and your explanation. Thank you Tim.

  • @edwardwilson4272
    @edwardwilson4272 2 ปีที่แล้ว +19

    Wow Flask is surprisingly easy to get a simple page up and running. Thanks Tim! Always appreciate your Python videos.

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

    Thanks Tim for the quick and clear introduction! Got me started on Flask!

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

    Its like you’re reading my mind! Last week I was thinking of doing something with flask, and boom, a tutorial series from one of my favourite youtubers!

    • @TechWithTim
      @TechWithTim  5 ปีที่แล้ว +6

      Maybe I am...

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

      Tech With Tim Btw, would a simple login system fit in the series? Or would it get too complicated with saving passwords etc?

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

      @@maxdenoudsten2596 hello bro for making the login system you need a cloud database which secure for storing complex details

  • @mehmetdulkadiroglu2693
    @mehmetdulkadiroglu2693 5 ปีที่แล้ว +44

    Omg I was wishing that you would do a flask tutorial. Thanks for this

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

      When you open terminal mine doesn't say pythonyoutubeflasktutorial

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

      Plus when he says on the end run that I don't understand what in supposed to do

  • @613gin
    @613gin 4 ปีที่แล้ว +7

    Thank you for the videos, Tim. You are talented teacher and programmer. I hope you keep TH-cam business as your primary focus when you graduate.
    Best

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

    After watching your tutorial, i fell in love with 3 things: You, Flask and Learning!!
    Thank you so so much!

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

    I found your channel yesterday and I have already learnt months worth of stuff. Subscribed, joined your discord, participated in your weekly challenge, set up my desk thanks to your video, everything!

  • @prajapatiniraj3263
    @prajapatiniraj3263 10 หลายเดือนก่อน

    This video deserves to go viral, it's that good

  • @crnofficial
    @crnofficial 5 ปีที่แล้ว +585

    please make a full flask tutorial that is brain friendly.

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

      @Ninters yes

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

      Mind size: smol as fuk

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

      what a fantastic name you have

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

      I tried to say your name.. my bed started floating

    • @notcannon2.224
      @notcannon2.224 3 ปีที่แล้ว +6

      yeah he just telling us what to do but not why

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

    Great job Tim! I was able to follow what you did and had no issues!

  • @handlethissonny
    @handlethissonny 10 หลายเดือนก่อน +2

    you forgot to put a corner thing at 1:40 for pip.

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

    Tim you are such a wonderful teacher and i hope i will not be asking too much by begging that you please teach us about virtual environments in a separate video. Many of us have tried to learn it from other videos, but they are not as relatable as you. You recommended that we build our flask on a virtual environment but we don't know how to do it.

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

      I have a video on my Python dev environment where I discuss these!!

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

      @@TechWithTim thank you. I will go look for it now.

  • @beefykenny
    @beefykenny 5 ปีที่แล้ว +18

    Are you gonna make a Flask series too? I look forward to watching it. You really explain well

  • @adrianpknz
    @adrianpknz 14 ชั่วโมงที่ผ่านมา

    This was an incredibly useful and easy to follow tutorial. Thanks!

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

    this is a blessing
    tim is my messiah

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

    Hey Tim, what's the brand of your chair? Is that good? Any recommendation?

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

      It’s a gaming chair, check amazon for gaming chairs

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

    Great video, Tim! I've been holding myself back for years, but thanks to u I managed to see how easy it had always been!

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

      can you tell me how to download flask?

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

      @@Krato65 if u r using vscode just write (in the terminal) the following: pip install flask

  • @rayganmudberry375
    @rayganmudberry375 5 ปีที่แล้ว +8

    Tim you're awesome my brother. after this series i request you make project based series on OOP Django. that way we can play with object oriented Programming. thank you so much and god bless you.

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

    Do all the pages of the website need to be in the same script? For a site that will be expanding on page content all the time, I'd really like to have each page run in a separate script and if I can call the outputs on the main script.

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

    I started with Corey Shaffer tut, but I moved into this, because when I am learning a new framework I dont want to build a project just learn how it works!

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

      Same here. Corey is a great teacher but his tutorial didn't seem appealing to me

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

    Splendid! Perfect. Thanks

  • @N10-b8f
    @N10-b8f 5 ปีที่แล้ว +1

    Omg I was waiting for Django and Flask tutorials thanks Man

  • @SumanthShivashankar
    @SumanthShivashankar 8 หลายเดือนก่อน

    Nice tutorial .. step by step clear explanation.Thanks for sharing the knowledge

  • @Battlesfordestination-777
    @Battlesfordestination-777 7 หลายเดือนก่อน

    bit struggling running it in command prompt, but finally i run my webpage. thanks to you time

  • @avikhandakar
    @avikhandakar 5 ปีที่แล้ว

    You are awesome :) Please continue the Flask series.

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

    Crystal clear that's exactly what I like in these tutorials. Thanks Tim

  • @SpoorthiB-k8w
    @SpoorthiB-k8w 7 หลายเดือนก่อน +1

    what is the extension that you use which colors the whitespaces/tabspace in vscode?

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

    Thanks

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

    what app did you use to code?

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

    You can also practice coding by following the video and just type the code as it is.. I usually use this technique to improve my coding speed and it helps me learn faster..

  • @j.r.s8737
    @j.r.s8737 5 ปีที่แล้ว

    Watching this! Looking to the rest of the series!

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

    I HARDLY COMMENT. THIS IS A GOOD TUTORIAL. GREAT FOR REFRESHING IN MY OWN CASE

  • @houda9434
    @houda9434 5 ปีที่แล้ว +6

    thank you so much tim for the tutorial It was a good start for web development

  • @origamicaptain5664
    @origamicaptain5664 7 หลายเดือนก่อน

    This is really helpful. Thank you.
    It is a little confusing that you use home as the example for the second page route because there is already a function called home for the root route.
    I figured out what was going on, but it would have been clearer if a different route name was used.

  • @MakeDataUseful
    @MakeDataUseful 5 ปีที่แล้ว +2

    Really awesome stuff Tim, thank you for sharing.

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

    👽 Nice StarTrek Chair !!

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

    Thank you very much for helping at a subject when the teacher and Google have failed to do it for me.

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

    I wrote the code like you did. Only the first step worked. After adding the 'return f"Hello {name}"-!" The website looked the same as before. Despite saving, restarting, and refreshing the page. What is this issue?

  • @SkyFly19853
    @SkyFly19853 5 ปีที่แล้ว

    Truly wonderful since I am interested in using Python for Networking...

  • @brianevans4
    @brianevans4 5 ปีที่แล้ว +23

    Would love to see how to get input from a HTML form and use it in a python program. That would be pretty cool!

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

      Hey bro! I'm only a few months into python, it looks like you were a newbie as well when you asked this question. How's your coding journey two years later?

    • @wilder152
      @wilder152 9 หลายเดือนก่อน

      Hey bro! I'm only a few months into python, it looks like you were a newbie as well when you asked this question. How's your coding journey two years later?@@jimmyfl0

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

    Great video Tim!

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

    By far the best introduction and explanation for a beginner... Well done mate!

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

    Thanks Tim you made this very straight forward

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

    wow. a tutorial that actually makes sense. bless you sir

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

    Great tutorial to get you started. Most videos I've watched jump right into GIT or Heroku deployment right from the door which makes things even more confusing. Good job!

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

    Note: If you have worked with Spring or Spark for Java then Flask is an easy transition.

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

    Brilliantly paced. 500k subs well-earned :D

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

    thankx tim...would you help me with somethinng...how to apply loop to pages....to display text one by one

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

    Fantastic! This is exactly what I needed, very clear video, keep up the good work!

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

    nice I am so pumped to get into it

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

    this was an awesome tutorial

  • @mastercode7851
    @mastercode7851 5 ปีที่แล้ว

    please dont stop, keep make about flask big sub to you sir

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

    this is pretty help for newbie like me, thanks a lot for great work.

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

      what software did he used?

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

    Great tim doing a great stuff here!!!

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

    Great video Tim thank you!

  • @avvn9331
    @avvn9331 5 ปีที่แล้ว

    Thanks for this flask series sir., very kind of you to make such useful tutorials for us..

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

    when i copy and paste to look at the website through a browser i get this
    "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."

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

    I just wanted to know what are the prerequisites for getting started with flask?

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

    Thanks Tim for so clear and crisp explanation for starting with Flask App.

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

    Thank you for this tutorial, it helps me a lot!

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

    very good tutorials, i understand them perfectly, subscribed!

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

    can someone please help me!!!! i have no idea what software he is using to write all the code

    • @ryank.6033
      @ryank.6033 3 ปีที่แล้ว

      Sublime text

  • @soumya9895
    @soumya9895 5 ปีที่แล้ว

    That's what I wanted Tim.

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

    thanks tim u help me out a lot anyway keep it up bro

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

    What plugins do you use in Sublime to program in Python? I like using Sublime more like IDE.

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

      You don't need plugins for Sublime you just type code into it. Then you save the file as .py

  • @rachitsingh4913
    @rachitsingh4913 8 หลายเดือนก่อน

    Loved this tutorial

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

    Why didn't u use oop instead? Isn't it more organized and efficient?

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

    Just came from django. Damn flask seems so straightforward. I’m not going back to learning django

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

    Thank you so much. Really helpful!

  • @Breath-Life2024
    @Breath-Life2024 4 ปีที่แล้ว

    Bro they are little men who love this , but big up

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

    Thank you ... great tutorial !!

  • @lorenzasaettone8466
    @lorenzasaettone8466 6 หลายเดือนก่อน

    Can you add a tutorial about how to incorporate a python function that uses open ai, a gpt assistant that answers to input things? I want that what happens in my vscode console is visible in my Web app. I don’t know if I was clear

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

    Hey thanks for the video. Why should you always use a virtual environment?

  • @PhilippAlbrecht-c4e
    @PhilippAlbrecht-c4e 10 หลายเดือนก่อน

    You may want to start with the concept of a virtual environment. Coming from javascript land this is very new

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

    Congrats ! 100k...

  • @anajulia-mq9io
    @anajulia-mq9io ปีที่แล้ว

    2:06 it's not clear how i create that python file, can you explain?

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

    If you have a problem at the "python 'tutorial 1.py' " try python -m flask run

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

      It says,
      "Error: Couuld not import "FILENAME".

  • @jeffreygordon7194
    @jeffreygordon7194 5 ปีที่แล้ว

    This was really clear and helpful. Thank you.

  • @imadoulhou7854
    @imadoulhou7854 5 ปีที่แล้ว +2

    Thank you sir, I was waiting for this series a lot. Please do a complete advanced Flask courses. We'll be appreciate that.
    Creating a shopping, blogging, AI web app is what we're looking for...🏋️‍♂️🏋️‍♂️

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

    Can u add a lesson on fetching and parsing json data from an api with flask

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

    Hi Tim, should I learn HTML and CSS before to start Flask?

  • @mrigankadas5435
    @mrigankadas5435 5 ปีที่แล้ว

    Awesome explanation, really liked it

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

    9:20 what if we want to pass the name of a function that requires an argument

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

    So what are the two programs you are using? The one that u run it on and the main ?

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

      editor: sublime
      terminal (black screen): windows command line (search for CMD)

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

      @@daytodatainc thanks!

  • @yt-1161
    @yt-1161 2 ปีที่แล้ว

    Where is the follow up? Channel is full of playlists, couldn't find it

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

    Coming from Django, Flask seems a lot easier to use

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

    do you recommend it over django?

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

    IN CASE YOU GET:
    'The folder you are executing pip from can no longer be found.'
    FROM INSIDE THE PYCHARM IDE
    use the importation syntax:
    from flask import Flask
    Hover your mouse over the squiggly line under the lowercased _flask_ and click install package.

  • @Bobby-zd5vl
    @Bobby-zd5vl 3 ปีที่แล้ว

    Hey Tim I'd like to know can I download flask on a Linux laptop

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

    #helpmetimm I did the same work pycharm but it's giving module not found error

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

    2:27 how u got intellisense in sublime??

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

    Fantastic!!!! Thank you!