In this session, Cecil, Brian and chat set up our development environment for building an API in Python with Flask. They use Visual Studio Online as their remote development environment and collaborate over Visual Studio Live Share
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 ππ
Wednesday - January 15, 2019
Next Steps
- Add features to the API
Resources
- Project Code Repository
- GitIgnore Website
- Flask
- GitHub CLI Tool
- Configuring Visual Studio Online
- pyenv
- pyenv installer
- Determining if you're running in a container
- Azure Pricing Calculator
- Visual Studio Online
- TalkPython Podcast: Practices of the Python Pro
- Python Cheat Sheet
- Microsoft Developer's Python for Beginners
VS Code Extensions Shown/Used
Clips
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:
Segments
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.
Timestamp | Topic |
---|---|
00:05:13 | Kick it off |
00:14:51 | Plan for the future of the Python streams |
00:31:15 | Begin setting up visual studio online |
00:35:01 | Calculating cost of vso based on estimated usage |
01:16:33 | Actively using Visual Studio Live share in the Visual Studio Online environment |
01:29:09 | Back from break |
01:29:35 | Start setting up the vso environment for python and share Cecil's via vs live share |
01:36:05 | Installing a new version of python in vs online |
01:56:26 | Now really installing a new version of python with pyenv |
02:01:27 | Why is an older version of Python being used still? |
02:14:39 | Checking out github cli (not git) |
02:38:07 | We wrote a thing! built an API with Flask in Python! |
02:48:21 | Exploring the commands for github cli to create our repository |
YouTube Video
Get connected with Cecil Phillip
Get connected with Brian Clark
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
Top comments (0)