SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
Visual Studio Code for Python Programmers
Toggle community discussions
Close
Content
Bookmarks
Preface
Visual Studio® Code for Python® Programmers
Introduction
Who Will Benefit Most from This Book
Special Features
How to Contact Wiley
1
Getting Started
Installing Visual Studio Code
The Visual Studio Code User Interface
Command Palette
Extensions
Customizations
Summary
Hello World for Python
Installing a Python Interpreter
Installing the Python Extension for Visual Studio Code
Creating a Python File
Selecting an Interpreter
Selecting a Linter
Editing a Python File
Running a Python File
Workflow Recap
Summary
Editing Code
Quick Fixes
Code Completion, Definitions, and Declarations
Formatting
Edit Formatting Settings in the Settings Editor
Linting
Refactoring
Snippets
Summary
Managing Projects and Collaboration
Files and Folders
Environments
Source Control
Live Share
Summary
Debugging
Starting a Debug Session
Debug Commands
Call Stack
Triggering a Breakpoint
Logpoints
Watch
The Debug Console
Launch Configurations
Summary
Unit Testing
Enable and Discover Tests
Run Tests
Debug Tests
Summary
Jupyter Notebook
Creating and Opening a Jupyter Notebook
Code Cell Modes
Adding Cells
Editing Cells
Running a Cell
Viewing Variables and Data
Viewing Plots
Debugging a Jupyter Notebook
Connecting to a Remote Server
Exporting a Notebook
Summary
Using Git and GitHub with Visual Studio Code
Getting Started
GitHub Pull Requests and Issues Extension
Publish a Project to GitHub
Push Changes to GitHub
Manage Pull Requests and Issues
Clone Repository
Timeline View
Summary
Deploy a Django App to Azure App Service with the Azure App Service Extension
Getting Started
Creating a Django Project
Creating an App
Creating a Home Page
Creating Website Pages
Deploying to Azure
Summary
Create and Debug a Flask App
Getting Started
Create a Flask App
Create and Render a Template
Debug the Flask App
Summary
Create and Deploy a Container with Azure Container Registry and Azure App Service
Getting Started
Create a Container
Debug a Container
Push an Image to the Registry
Deploy the Container Image to Azure
Make Changes to the App and Deploy
Multicontainer Apps
Summary
Deploy an Azure Function Trigger by a Timer
Getting Started
Create an Azure Function
Invoke the Function Locally
Add the Code to the Function
Deploy the Function to Azure
Summary
Appendix
Getting Started with Azure
Index
About the Author
About the Technical Editor
Acknowledgments
WILEY END USER LICENSE AGREEMENT
Open text modal
Community Questions
Close