Make A Python Website As Fast As Possible!
Welcome to another video! In this video, I’m going to show you how to create a website using python as fast as possible. We’ll be using the flask module which is a web framework for python. This will be a relativly simple and quick video so check the links below for more in depth videos.
💻 Thanks to Altium Designer for sponsoring this video. Checkout the best PCD design software on the market by signing up for a FREE trial here: https://www.altium.com/yt/techwithtim
📄 Resources 📄
Fix Pip (Windows): https://www.youtube.com/watch?v=AdUZArA-kZw&t=204s
Fix Pip (Mac): https://www.youtube.com/watch?v=E-WhAS6qzsU
Flask Tutorial Series: https://www.youtube.com/watch?v=mqhxxeeTbu0&t=46s
Flask Blog: https://www.youtube.com/watch?v=GQcM8wdduLI
Python Website Full Tutorial: https://www.youtube.com/watch?v=dam0GPOAvVI&t=1s
Flask REST API: https://www.youtube.com/watch?v=GMppyAPbLYk&t=769s
⭐️ Timestamps ⭐️
00:00 | Overview
01:53 | Environment Setup
02:39 | Flask Setup
04:28 | Creating Views/Routes
08:18 | Rendering HTML
09:45 | Template Variables
11:09 | URL Parameters
12:52 | Query Parameters
14:03 | Returning JSON
15:20 | Getting JSON Data
16:06 | Redirect
17:49 | Adding JavaScript
22:50 | Template Inheritance
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
🔗 Social Medias 🔗
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear 🎬
🎥 Main Camera (EOS Canon 90D): https://amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
🕹 Tripod: https://amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): https://amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): https://amzn.to/3oi0v8Z
☀️ Lights: https://amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): https://amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): https://amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): https://amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): https://amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): https://amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): https://amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): https://amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): https://amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): https://amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
– Tech With Tim
– Python
– Website
– Flask
– JSON
– Altium
⭐️ Hashtags ⭐️
#TechWithTim #PythonWebsite
by Tech With Tim
linux web server
im so glad i found your channel. thank you tim
Being an embedded engineer, knowing little or nothing about the world of web development, the format of this kind of short video but giving a nice overview is enriching. Thanks a lot for this knowledge sharing.
as i am using html there is nothing showing up
14:53 Excellent coolness.
I get an error when typing the command coda activate base. Do I need something else installed other than Flask?
Update: Nevermind, I had to use python -m flask run
stop making only tutorials in winblows. There are so many of us who use some flavor of VIM and every stupid book in programming is focused on winblows or macos environments.
Hey on the first part of importing flask , i get invalid syntax but its installed proprerly
buddy i have a python project which is a chat bot… how can i upload that project to a web page??
I keep getting a jinja error Template not found even though it's in the right folder and I'm looking right at it.
When you're able to squeeze a month worth of college lectures into a 22 minute video
As fast as possible? Why not use fastapi then 😉
Excellent – economic, on point, no diversions and efficient.
Respect.
Like the lack of BS, Straight into the breach!
This is an EXCELLENT "refresher" after going through your playlist of 10 or 11 videos. In 22 minutes you go through almost all the same things (other than the database stuff), plus a few extras. It really helped reinforce what I have just learned!
is its just mine or everybody cant open the website in another device
can you add css?
Thanks for this video!
Might be a dumb quesiton but when i hit x on a folder and save it where does it go im new and trying to learn python and its very confusing …. and how do you ge the terminal open???
WOW. Thank u so much. Your actual unkowledge Is wisdom for us. <3 cheers from México
Great video
Can't express in words how much it helped me
🎉🎉 thankyou ❤