learning-python (23 Part Series)
In this session, Cecil, Brian and chat learn about the web framework Flask for Python. We build our first website and close things out by talking about the future of the show. This concludes the Learning Python from Scratch series but we'll be continuing the show focused on Python in the new year.
Thank you everyone that joined us live, watched the recordings and shown support in all kinds of ways. We really appreciate it and hope we brought value to you with this series. Happy holidays!
The following are notes and details recapping a past live stream where we live code together. The idea behind these streams is that they provide real-world examples of running into problems and solving them or working towards solving them live. Enjoy this latest one on Python 🙂👍
✅ Warm up/Catch up with chat
✅ Learn about Flask
✅ Close out the series, thank yous, future plans
✅ Closing and raid @Instafluff
- Finished the web framework section and completed the course!
- Learned of three web frameworks for python: django, flask and pyramid
- Learned how to get started using Flask
- Learned how to build a web site with Flask
- Thank you Nina GitHub issue
- Discord Server
- @Cas_9: show how to deploy a Flask app
- How to create decorators
Clips are a feature on Twitch that let you cut and capture segments of the live stream in the moment (up to 60 seconds). See how to use clips on Twitch for more details. The following are some fun moments captured from this stream:
- Thank you Nina!
- What are the pros and cons of frameworks
- What is a framework?
- What is a framework? part 2
- What is data in regard to a web framework?
- We successfully built an app with Flask!
- Running the Flask app with VS Code
- What is CSS?
- We made a silly mistake by editing the wrong file!
- Jinja is the templating engine we used with Flask
Links not working on Twitch? It's most likely because Twitch will only save my stream recordings for about 60 days. Use the YouTube link at the top of this page instead.
This table helps point out different segments of the stream (highlighted in bold) or moments we learned something (not bold). The timestamps link to the video on Twitch at that point in the recording. If you'd like the YouTube link above will have similar timestamps and link to those same points in the recording as well.
|00:07:23||Kick it off|
|00:11:09||Recap from last episode|
|00:29:12||Begin learning about web frameworks in python|
|00:35:05||Learned of three web frameworks for python: django, flask and pyramid|
|00:43:32||A basic Flask app|
|00:55:34||What is HTML|
|00:56:20||Chrome inspect (created by @baldclap)|
|00:58:37||Using visual studio code (created by @baldclap)|
|00:59:13||Installing flask (created by @baldclap)|
|01:03:34||Trippy moment (created by @baldclap)|
|01:17:47||Great explanation of ports (created by @baldclap)|
|01:21:30||Built our first web server with Flask!|
|01:28:31||Debug the app in VS Code|
|01:35:04||Generating html in VS Code|
|01:44:58||What is CSS|
|01:52:37||Trying to figure out the issue with our style.css file in the app|
|02:05:39||Using variables in templates|
|02:30:55||Frontend vs backend. what is the difference?|
|02:37:31||Begin talk about the future of the show|
|02:44:29||Let's say thank you to Nina!|
|02:44:35||Thanking Nina (created by @codesillystuff)|
Thanks for reading this article. If you're interested in finding more content from Microsoft Cloud Advocates check out this monthly curated newsletter: Developer Community Newsletter