Visual Studio Code for Python Programmers
- Length: 256 pages
- Edition: 1
- Language: English
- Publisher: Wiley
- Publication Date: 2021-07-07
- ISBN-10: 1119773369
- ISBN-13: 9781119773368
- Sales Rank: #147632 (See Top 100 Books)
Become proficient and efficient with Visual Studio Code and learn how to integrate all your external tools!
Visual Studio Code for Python Programmers helps Python developers become not just familiar, but productive in Visual Studio Code. To start, you’ll find the steps for installing Visual Studio Code on Windows, Mac and Linux platforms, along with an introduction to the editing features of the workspace. Coverage of more advanced functionality includes managing source code, debugging, unit testing, and Jupyter Notebook support. The book finishes with a walk-through of real-world projects which utilize Visual Studio Code features introduced in the book.
For developers, the choice of an editor is a very personal one. You have idiosyncratic needs and wants that are unique to you as a developer. This book will help you learn how to customize Visual Studio Code to meet your needs and Python development workflow.
- Introduces you to the features of the Visual Studio Code workspace and how those features can be customized
- Demonstrates how Visual Studio Code allows you to choose your structure according to your needs
- Covers editing code in Python, including syntax highlighting, code completion, object definition, refactoring, and code navigation
- Describes Git integration and how to perform common Git functions (commits, checkouts, branches, and merges) from within Visual Studio Code
- Highlights debugging features for Python developers
A final section on Real World Applications will step you through several examples (and features integration with Django, Flask, Jupyter Notebook, Docker, and Azure), so you can hit the ground running with Visual Studio Code.
Cover Title Page Copyright Page About the Author About the Technical Editor Acknowledgments Contents at a Glance Contents Introduction Who Will Benefit Most from This Book Part 1 Welcome to Visual Studio Code Chapter 1 Getting Started Installing Visual Studio Code The Visual Studio Code User Interface Activity Bar Side Bar Editor Panels Status Bar Command Palette Extensions Customizations Settings Color Themes and Icons Keybindings Display Language Summary Chapter 2 Hello World for Python Installing a Python Interpreter macOS Linux Windows Installing the Python Extension for Visual Studio Code Creating a Python File Selecting an Interpreter Setting a Default Interpreter Selecting a Linter Editing a Python File Running a Python File Workflow Recap Summary Chapter 3 Editing Code Quick Fixes Code Completion, Definitions, and Declarations Formatting Edit Formatting Settings in the Settings Editor Edit Formatting Settings in settings.json Linting Enable and Disable Linting Run Linting Linting Settings Refactoring Extract Variable Extract Method Sort Imports Snippets Summary Part 2 Additional Visual Studio Code Features Chapter 4 Managing Projects and Collaboration Files and Folders Open a Project Navigate Files Search across Files Close a File or Folder Environments Virtual Environments Conda Environments Source Control Initialize a Repository Commit Changes Branches Remotes Gutter Indicators View Diffs Push and Merge Commits Pull Requests Live Share Install Live Share Sign In to Live Share Share a Project Join a Session Editing and Collaboration Summary Chapter 5 Debugging Starting a Debug Session Debug Commands Continue Step Over Step Into Step Out Stop Restart Call Stack Triggering a Breakpoint Logpoints Watch The Debug Console Launch Configurations Summary Chapter 6 Unit Testing Enable and Discover Tests Run Tests Debug Tests Summary Chapter 7 Jupyter Notebook Creating and Opening a Jupyter Notebook Code Cell Modes Adding Cells Editing Cells Running a Cell Running a Single Cell Running All Code Cells Running Cells Above and Below a Code Cell Additional Commands Viewing Variables and Data Viewing Plots Debugging a Jupyter Notebook Connecting to a Remote Server Exporting a Notebook Summary Chapter 8 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 Pull Requests Issues Clone Repository Timeline View Summary Chapter 9 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 Chapter 10 Create and Debug a Flask App Getting Started Create a Flask App Create and Render a Template Debug the Flask App Summary Chapter 11 Create and Deploy a Container with Azure Container Registry and Azure App Service Getting Started Create a Container Add Docker Files to the Project Build an Image Build and Run a Container Debug a Container Push an Image to the Registry Create an Azure Container Registry Determine the Image’s Registry Location Deploy the Container Image to Azure Make Changes to the App and Deploy Multicontainer Apps Summary Chapter 12 Deploy an Azure FunctionTrigger 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 EULA
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.