{"product_id":"visual-studio-code-for-python-programmers-isbn-9781119773368","title":"Visual Studio Code for Python Programmers","description":"\u003cp\u003e\u003cb\u003eBecome proficient and efficient with Visual Studio Code and learn how to integrate all your external tools!\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e\u003ci\u003eVisual Studio Code for Python Programmers\u003c\/i\u003e 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.\u003c\/p\u003e \u003cp\u003eFor 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.\u003c\/p\u003e \u003cul\u003e \u003cli\u003eIntroduces you to the features of the Visual Studio Code workspace and how those features can be customized\u003c\/li\u003e \u003cli\u003eDemonstrates how Visual Studio Code allows you to choose your structure according to your needs\u003c\/li\u003e \u003cli\u003eCovers editing code in Python, including syntax highlighting, code completion, object definition, refactoring, and code navigation\u003c\/li\u003e \u003cli\u003eDescribes Git integration and how to perform common Git functions (commits, checkouts, branches, and merges) from within Visual Studio Code\u003c\/li\u003e \u003cli\u003eHighlights debugging features for Python developers\u003c\/li\u003e \u003c\/ul\u003e  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. \u003cp\u003eIntroduction xix\u003c\/p\u003e \u003cp\u003e\u003cb\u003ePart I Welcome to Visual Studio Code 1\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 1 Getting Started 3\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eInstalling Visual Studio Code 4\u003c\/p\u003e \u003cp\u003eThe Visual Studio Code User Interface 4\u003c\/p\u003e \u003cp\u003eActivity Bar 5\u003c\/p\u003e \u003cp\u003eSide Bar 6\u003c\/p\u003e \u003cp\u003eEditor 7\u003c\/p\u003e \u003cp\u003ePanels 11\u003c\/p\u003e \u003cp\u003eStatus Bar 12\u003c\/p\u003e \u003cp\u003eCommand Palette 12\u003c\/p\u003e \u003cp\u003eExtensions 14\u003c\/p\u003e \u003cp\u003eCustomizations 15\u003c\/p\u003e \u003cp\u003eSettings 16\u003c\/p\u003e \u003cp\u003eColor Themes and Icons 18\u003c\/p\u003e \u003cp\u003eKeybindings 18\u003c\/p\u003e \u003cp\u003eDisplay Langage 18\u003c\/p\u003e \u003cp\u003eSummary 19\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 2 Hello World for Python 21\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eInstalling a Python Interpreter 21\u003c\/p\u003e \u003cp\u003emacOS 22\u003c\/p\u003e \u003cp\u003eLinux 22\u003c\/p\u003e \u003cp\u003eWindows 22\u003c\/p\u003e \u003cp\u003eInstalling the Python Extension for Visual Studio Code 22\u003c\/p\u003e \u003cp\u003eCreating a Python File 23\u003c\/p\u003e \u003cp\u003eSelecting an Interpreter 24\u003c\/p\u003e \u003cp\u003eSetting a Default Interpreter 26\u003c\/p\u003e \u003cp\u003eSettings Editor 26\u003c\/p\u003e \u003cp\u003esettings.json File 26\u003c\/p\u003e \u003cp\u003eSelecting a Linter 26\u003c\/p\u003e \u003cp\u003eEditing a Python File 27\u003c\/p\u003e \u003cp\u003eRunning a Python File 29\u003c\/p\u003e \u003cp\u003eWorkflow Recap 30\u003c\/p\u003e \u003cp\u003eSummary 31\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 3 Editing Code 33\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eQuick Fixes 34\u003c\/p\u003e \u003cp\u003eCode Completion, Definitions, and Declarations 35\u003c\/p\u003e \u003cp\u003eFormatting 38\u003c\/p\u003e \u003cp\u003eEdit Formatting Settings in the Settings Editor 39\u003c\/p\u003e \u003cp\u003eEdit Formatting Settings in settings.json 40\u003c\/p\u003e \u003cp\u003eLinting 41\u003c\/p\u003e \u003cp\u003eEnable and Disable Linting 41\u003c\/p\u003e \u003cp\u003eRun Linting 42\u003c\/p\u003e \u003cp\u003eLinting Settings 43\u003c\/p\u003e \u003cp\u003eRefactoring 44\u003c\/p\u003e \u003cp\u003eExtract Variable 44\u003c\/p\u003e \u003cp\u003eExtract Method 45\u003c\/p\u003e \u003cp\u003eSort Imports 46\u003c\/p\u003e \u003cp\u003eSnippets 47\u003c\/p\u003e \u003cp\u003eSummary 48\u003c\/p\u003e \u003cp\u003e\u003cb\u003ePart II Additional Visual Studio Code Features 51\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 4 Managing Projects and Collaboration 53\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eFiles and Folders 53\u003c\/p\u003e \u003cp\u003eOpen a Project 54\u003c\/p\u003e \u003cp\u003eNavigate Files 56\u003c\/p\u003e \u003cp\u003eSearch across Files 57\u003c\/p\u003e \u003cp\u003eClose a File or Folder 60\u003c\/p\u003e \u003cp\u003eEnvironments 60\u003c\/p\u003e \u003cp\u003eVirtual Environments 61\u003c\/p\u003e \u003cp\u003eConda Environments 61\u003c\/p\u003e \u003cp\u003eSource Control 63\u003c\/p\u003e \u003cp\u003eInitialize a Repository 65\u003c\/p\u003e \u003cp\u003eCommit Changes 66\u003c\/p\u003e \u003cp\u003eBranches 69\u003c\/p\u003e \u003cp\u003eRemotes 70\u003c\/p\u003e \u003cp\u003eGutter Indicators 71\u003c\/p\u003e \u003cp\u003eView Diffs 71\u003c\/p\u003e \u003cp\u003ePush and Merge Commits 73\u003c\/p\u003e \u003cp\u003ePull Requests 74\u003c\/p\u003e \u003cp\u003eLive Share 74\u003c\/p\u003e \u003cp\u003eInstall Live Share 75\u003c\/p\u003e \u003cp\u003eSign In to Live Share 76\u003c\/p\u003e \u003cp\u003eShare a Project 76\u003c\/p\u003e \u003cp\u003eJoin a Session 78\u003c\/p\u003e \u003cp\u003eEditing and Collaboration 80\u003c\/p\u003e \u003cp\u003eFollow a Participant 80\u003c\/p\u003e \u003cp\u003eShare a Terminal 81\u003c\/p\u003e \u003cp\u003eSummary 82\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 5 Debugging 83\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eStarting a Debug Session 84\u003c\/p\u003e \u003cp\u003eDebug Commands 89\u003c\/p\u003e \u003cp\u003eContinue 89\u003c\/p\u003e \u003cp\u003eStep Over 90\u003c\/p\u003e \u003cp\u003eStep Into 90\u003c\/p\u003e \u003cp\u003eStep Out 91\u003c\/p\u003e \u003cp\u003eStop 91\u003c\/p\u003e \u003cp\u003eRestart 92\u003c\/p\u003e \u003cp\u003eCall Stack 92\u003c\/p\u003e \u003cp\u003eTriggering a Breakpoint 93\u003c\/p\u003e \u003cp\u003eLogpoints 95\u003c\/p\u003e \u003cp\u003eWatch 96\u003c\/p\u003e \u003cp\u003eThe Debug Console 98\u003c\/p\u003e \u003cp\u003eLaunch Configurations 101\u003c\/p\u003e \u003cp\u003eSummary 104\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 6 Unit Testing 105\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eEnable and Discover Tests 105\u003c\/p\u003e \u003cp\u003eRun Tests 109\u003c\/p\u003e \u003cp\u003eDebug Tests 113\u003c\/p\u003e \u003cp\u003eSummary 115\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 7 Jupyter Notebook 117\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eCreating and Opening a Jupyter Notebook 118\u003c\/p\u003e \u003cp\u003eCode Cell Modes 120\u003c\/p\u003e \u003cp\u003eAdding Cells 121\u003c\/p\u003e \u003cp\u003eEditing Cells 122\u003c\/p\u003e \u003cp\u003eRunning a Cell 124\u003c\/p\u003e \u003cp\u003eRunning a Single Cell 124\u003c\/p\u003e \u003cp\u003eRunning All Code Cells 124\u003c\/p\u003e \u003cp\u003eRunning Cells Above and Below a Code Cell 125\u003c\/p\u003e \u003cp\u003eAdditional Commands 126\u003c\/p\u003e \u003cp\u003eViewing Variables and Data 126\u003c\/p\u003e \u003cp\u003eViewing Plots 128\u003c\/p\u003e \u003cp\u003eDebugging a Jupyter Notebook 129\u003c\/p\u003e \u003cp\u003eConnecting to a Remote Server 130\u003c\/p\u003e \u003cp\u003eExporting a Notebook 131\u003c\/p\u003e \u003cp\u003eSummary 132\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 8 Using Git and GitHub with Visual Studio Code 135\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eGetting Started 135\u003c\/p\u003e \u003cp\u003eGitHub Pull Requests and Issues Extension 136\u003c\/p\u003e \u003cp\u003ePublish a Project to GitHub 139\u003c\/p\u003e \u003cp\u003ePush Changes to GitHub 141\u003c\/p\u003e \u003cp\u003eManage Pull Requests and Issues 143\u003c\/p\u003e \u003cp\u003ePull Requests 144\u003c\/p\u003e \u003cp\u003eIssues 147\u003c\/p\u003e \u003cp\u003eClone Repository 152\u003c\/p\u003e \u003cp\u003eTimeline View 154\u003c\/p\u003e \u003cp\u003eSummary 156\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 9 Deploy a Django App to Azure App Service with the Azure App Service Extension 157\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eGetting Started 157\u003c\/p\u003e \u003cp\u003eCreating a Django Project 159\u003c\/p\u003e \u003cp\u003eCreating an App 161\u003c\/p\u003e \u003cp\u003eCreating a Home Page 163\u003c\/p\u003e \u003cp\u003eCreating Website Pages 166\u003c\/p\u003e \u003cp\u003eDeploying to Azure 168\u003c\/p\u003e \u003cp\u003eSummary 175\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 10 Create and Debug a Flask App 177\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eGetting Started 177\u003c\/p\u003e \u003cp\u003eCreate a Flask App 178\u003c\/p\u003e \u003cp\u003eCreate and Render a Template 180\u003c\/p\u003e \u003cp\u003eDebug the Flask App 184\u003c\/p\u003e \u003cp\u003eSummary 187 \u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 11 Create and Deploy a Container with Azure Container Registry and Azure App Service 189\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eGetting Started 189\u003c\/p\u003e \u003cp\u003eCreate a Container 191\u003c\/p\u003e \u003cp\u003eAdd Docker Files to the Project 191\u003c\/p\u003e \u003cp\u003eBuild an Image 193\u003c\/p\u003e \u003cp\u003eBuild and Run a Container 195\u003c\/p\u003e \u003cp\u003eDebug a Container 197\u003c\/p\u003e \u003cp\u003ePush an Image to the Registry 197\u003c\/p\u003e \u003cp\u003eCreate an Azure Container Registry 198\u003c\/p\u003e \u003cp\u003eDetermine the Image’s Registry Location 199\u003c\/p\u003e \u003cp\u003eDeploy the Container Image to Azure 201\u003c\/p\u003e \u003cp\u003eMake Changes to the App and Deploy 205\u003c\/p\u003e \u003cp\u003eMulticontainer Apps 206\u003c\/p\u003e \u003cp\u003eSummary 207\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 12 Deploy an Azure Function Trigger by a Timer 209\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eGetting Started 210\u003c\/p\u003e \u003cp\u003eCreate an Azure Function 211\u003c\/p\u003e \u003cp\u003eInvoke the Function Locally 213\u003c\/p\u003e \u003cp\u003eAdd the Code to the Function 214\u003c\/p\u003e \u003cp\u003eDeploy the Function to Azure 215\u003c\/p\u003e \u003cp\u003eSummary 220\u003c\/p\u003e \u003cp\u003e\u003cb\u003eAppendix Getting Started with Azure 221\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eIndex 225\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eAPRIL SPEIGHT\u003c\/b\u003e is a developer who specializes in Python and conversational design for chat bots and AI Assistants. Her passion for learning and teaching Python led to her first published title, \u003ci\u003eBite-Size Python: An Introduction to Python Programming\u003c\/i\u003e. She currently works on content creation and developer community engagement for Spatial Computing and Mixed Reality at Microsoft.   \u003c\/p\u003e\u003cp\u003e\u003cb\u003eMASTER VISUAL STUDIO CODE AND CUSTOMIZE IT TO MEET YOUR UNIQUE NEEDS\u003c\/b\u003e \u003c\/p\u003e\u003cp\u003eVisual Studio Code offers a robust source code editor and development environment. It’s a free download that’s fast, lightweight, and available for Windows, Mac, and Linux. Along with support for IntelliSense, refactoring capabilities, and an extensive ecosystem of extensions, it also offers debugging support. Once you master it, you can open a Python project from within Visual Studio Code and get end-to-end execution and debugging functionality. \u003c\/p\u003e\u003cp\u003eArranged in three parts, this guide helps Python developers become not just familiar with Visual Studio Code, but productive in its use. Part 1 gets you started with the steps for installing Visual Studio Code, installing the Python extension, and exploring the editing features of the workspace. Part 2 examines the Python extension essentials, covering editing Python code, debugging, using snippets, and testing, as well as the integration Visual Studio Code provides to external tools like Git. Part 3 takes you into real world applications, featuring integration with Jupyter Notebook, GitHub, Django, Flask, Docker, and Azure. \u003c\/p\u003e\u003cp\u003e\u003cb\u003eYou’ll be ready to hit the ground running as you learn to:\u003c\/b\u003e \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cb\u003eUse all the features of the Visual Studio Code workspace\u003c\/b\u003e\u003c\/li\u003e \u003cli\u003eCustomize those features for your needs\u003c\/li\u003e \u003cli\u003eChoose the structure for your project\u003c\/li\u003e \u003cli\u003eEdit code in Python, including syntax coloring, IntelliSense, refactoring, and code navigation\u003c\/li\u003e \u003cli\u003ePerform common Git functions from within Visual Studio Code\u003c\/li\u003e \u003cli\u003eDebug your code using JSON\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Wiley","offers":[{"title":"Default Title","offer_id":47990458941669,"sku":"NP9781119773368","price":50.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1842\/7735\/files\/9781119773368.jpg?v=1761787911","url":"https:\/\/k12savings.com\/es\/products\/visual-studio-code-for-python-programmers-isbn-9781119773368","provider":"K12savings","version":"1.0","type":"link"}