Flask Tutorial #1 – How to Make Websites with Python

///Flask Tutorial #1 – How to Make Websites with Python

Flask Tutorial #1 – How to Make Websites with Python

FavoriteLoadingAdd to favorites

Welcome to the first flask tutorial! This series will show you how to create websites with python using the micro framework flask. Flask is designed for quick development of simple web applications and is much easier to learn and use than django. If you are less experienced with python and want to learn how to make websites flask is the right tool! Flask is great for beginners!

Text-Based Tutorial:

⭐ Kite is a free AI-powered coding assistant for Python that will help you code smarter and faster. Integrates with Atom, PyCharm, VS Code, Sublime, Vim, and Spyder. I’ve been using Kite for 6 months and I love it!

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

📸 Instagram:
🌎 Website
📱 Twitter:
⭐ Discord:
📝 LinkedIn:
📂 GitHub:
🔊 Podcast:

💵 One-Time Donations:
💰 Patreon:
◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

Tags:
– Tech With Tim
– Python Tutorials
– Flask Python
– Python Flask Tutorial
– Flask Tutorial
– How to create websites with python

#Python #Flask #WebDevelopment

source

By |2020-04-10T02:58:23+00:00April 10th, 2020|Python Video Tutorials|48 Comments

48 Comments

  1. Chetan Hiwale April 10, 2020 at 2:58 am - Reply

    After clicking that url. It show "this site cant be reached" in brower.what should I do to fix it. Same happens with internet connectivity

  2. Samuel Bridgman April 10, 2020 at 2:58 am - Reply

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

  3. Sam Valladares April 10, 2020 at 2:58 am - Reply

    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.

  4. Ghaith Hajar April 10, 2020 at 2:58 am - Reply

    in which program he is writing flask codes ????

  5. Miguel Domingos April 10, 2020 at 2:58 am - Reply

    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!

  6. Sia Lee April 10, 2020 at 2:58 am - Reply

    When I try "pip install flask" it said ('pip' is not recognized as an internal or external command)

  7. Sia Lee April 10, 2020 at 2:58 am - Reply

    Hi. i have problem . when i run python tutorial1.py nothing happen!! some help?

  8. PathosLP April 10, 2020 at 2:58 am - Reply

    Anyone having issues with redirects? 
    For root function i have this
    @app.route("/")
    def home():
    return redirect(url_for("create_task"))
    Setting my root path to this it should redirect me to my create_task() function, but instead, it redirects me to http://localhost,localhost:8080/create-task/ if I manually remove the extra "localhost," it works fine.

  9. Emely B April 10, 2020 at 2:58 am - Reply

    When I write in sublime text it doesnt read the instructions like"from"

  10. Md Shamsuzzaman April 10, 2020 at 2:58 am - Reply

    good one!

  11. M.V GAMING April 10, 2020 at 2:58 am - Reply

    when i type in cmd python "the name of file.py" its type to me:python: can't open file 'website.py': [Errno 2] No such file or directory what to do??

  12. Malice #0046 April 10, 2020 at 2:58 am - Reply

    yeah these tutorials are do what I do, more then a learning experience

  13. Ryan Meunier April 10, 2020 at 2:58 am - Reply

    Though everything was word for word, and I have python3.7 I couldn't get http://127.0.0.1:5000/home to work, kept saying 404. ( using atom)

  14. Radu Prodan April 10, 2020 at 2:58 am - Reply

    Hi Tim
    How to use a customazable text url, not an ip address ?
    Thank you

  15. Joy Chakraborty April 10, 2020 at 2:58 am - Reply

    hey Tim I am a newbie in flask want to deploy my deep learning projects in flask I want to make a website that one page will redirect to another page just like any website how to do that? like home page to about us

  16. VLADIMIR POLOJIENKO April 10, 2020 at 2:58 am - Reply

    hello, i just want to know why we should use flask instead of html/css ? It seems more simple with html and css

  17. Also HDAM April 10, 2020 at 2:58 am - Reply

    Which code editor did he use?

  18. Programming Tuts April 10, 2020 at 2:58 am - Reply

    Great tim doing a great stuff here!!!

  19. Mitko Sokolov April 10, 2020 at 2:58 am - Reply

    Hi, how can we install uWSGI , application server for Flask, and Nginx ?

  20. Mitko Sokolov April 10, 2020 at 2:58 am - Reply

    Hi, how can we install pip in CMD?

  21. WolfEatSheep April 10, 2020 at 2:58 am - Reply

    so im dead in the water AGAIN i did everything exactly as instructed untill typing python "tutorial 1.py" into CMD and it says no such folder or directory i had the same exact issue with django so thats 2 tutorials same issue WTF!!!!

  22. Drex Flea April 10, 2020 at 2:58 am - Reply

    Bro, u r a genius…
    I'm completely blown by your knowledge…
    What is ur age?

  23. gamerboy 0880 April 10, 2020 at 2:58 am - Reply

    Why does it say invalid Syntax when i type python app.py (thats the file name) in command Prompt pls help it says that it has an erro at line 6 at def

  24. Victor Dinh April 10, 2020 at 2:58 am - Reply

    Tried to access the website I created on another computer in my home network by copying the URL into that computer. But the website can't be accessed. What's wrong?

  25. Tamim Khandakar Avi April 10, 2020 at 2:58 am - Reply

    You are awesome 🙂 Please continue the Flask series.

  26. Wes Chesguy April 10, 2020 at 2:58 am - Reply

    How about the embedding of a datagrid .. pulling data from a database and display in grid

  27. Leonardo Di Credico April 10, 2020 at 2:58 am - Reply

    In python, what means that "@" before app?please tell the name of that in order to further research

  28. Neeraj Bhatt April 10, 2020 at 2:58 am - Reply

    Just wanted to ask all of you is the Python documentation a better way to learn Python directly rather than using any book.

  29. Nathan Reid April 10, 2020 at 2:58 am - Reply

    Your website should display some of your past python projects(if that's possible with out re writing the game code in a different language.

  30. Kiyo April 10, 2020 at 2:58 am - Reply

    I kinda am having a problem with that cursive f, I was googling it, didn't really find anything and so, what does it do, why should i put it there, when i put it there by copying it from wikipedia, it didn't work and got me an error, so, when i tried it without it it acutally worked, but it typed {name} instead of the value i put between /<>. – 7:30

  31. A nice guy April 10, 2020 at 2:58 am - Reply

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

  32. Houda April 10, 2020 at 2:58 am - Reply

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

  33. Quang Nguyễn Minh April 10, 2020 at 2:58 am - Reply

    Hi, I put the URL: http://127.0.0.1:5000/ to the browser but not success:
    "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."
    ==> Help me plz

  34. Just Jack April 10, 2020 at 2:58 am - Reply

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

  35. Hamza Nasri April 10, 2020 at 2:58 am - Reply

    Guys witch one is better flask or html nd css ???

  36. Tanner Barcelos April 10, 2020 at 2:58 am - Reply

    I am using mac but it says its stuck on python 2.7 when i have 3.8 installed. I made a virtual environment and tried to import flask and it says flask is not on my machine, or something along those lines.

  37. MR Jax April 10, 2020 at 2:58 am - Reply

    C:UsersADMINDesktopFlask Python>python "file.py"

    File "file.py", line 11

    return f"Hello {name}!"

    HEEELP GUYS IN THIS !!!!!!!!!!!!!!!

  38. MR Jax April 10, 2020 at 2:58 am - Reply

    bro please how to that F letter in python ?? line 11

  39. DiNOo Gaming April 10, 2020 at 2:58 am - Reply

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

  40. Balajee T.N. April 10, 2020 at 2:58 am - Reply

    I am getting this error NameError: name '_name_' is not defined.. Please help.. I am using Pycharm

  41. karthi balaji April 10, 2020 at 2:58 am - Reply

    Congrats ! 100k…

  42. The Brick Slayer April 10, 2020 at 2:58 am - Reply

    That's cool, but how could Flask be that usefull in the FE framework era like React or Angular?

  43. Luka Franulovic April 10, 2020 at 2:58 am - Reply

    python: can't open file 'Flask.py': [Errno 2] No such file or directory PLS HELP!!!!

  44. Aravind. K M April 10, 2020 at 2:58 am - Reply

    What db should you use for this tutorial

  45. Sa Inco April 10, 2020 at 2:58 am - Reply

    thanks.

  46. Theuns Booysen April 10, 2020 at 2:58 am - Reply

    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.

  47. Max Tan April 10, 2020 at 2:58 am - Reply

    LOL <h1><h1>

    Come on, I know 5 year olds that know how to properly use a h1 tag. <h1></h1>

  48. Isak Pallas April 10, 2020 at 2:58 am - Reply

    When is next video coming? really enjoyed this one

Leave A Comment

*