Visual Studio Code for Python Developers

Visual Studio Code for Python Developers

59mBeginner2019-05-13

Authors

Joe Marini

Joe Marini

Senior Developer Advocate at Google, Developer

Course details

Visual Studio (VS) Code—the optimized code editor for Windows, macOS, and Linux—provides stellar support for Python right out of the box. Even if you’re already familiar with VS Code, this course can help you speed up your development work by highlighting how to best leverage this popular code editor when developing Python apps. Instructor Joe Marini covers everything from writing and debugging Python code, to using the built-in refactoring tools to make your code easier to maintain, to maximizing your productivity with must-have extensions such as REST Client. After wrapping up this course, you’ll have the knowledge you need to make the most out of VS Code when working with Python projects.

Learning objectives
Constructing a simple Python program in VS Code
Editing, formatting, and refactoring Python code
Debugging Python code
Setting breakpoints
Using Python docstring
Creating better comments for your source code
Using the REST Client extension

Skills covered

Microsoft DevelopmentVisual StudioPythonPersonaProgramming LanguagesOpen SourceMicrosoftSoftware Development

Concepts

Introduction

  • An awesome editor for an awesome language
  • What you should know
  • Setting up the environment

Overview of Visual Studio Code

  • A tour of the user interface
  • Build HelloWorld.py
  • The integrated terminal

Python Code Editing

  • Editing Python code
  • Using the Python REPL
  • Formatting Python code
  • Refactoring Python code

Python Code Debugging

  • Setting up for Python debugging
  • Stepping through code
  • Breakpoints
  • Conditional breakpoints
  • Logpoints

Coding Extensions

  • Python Docstring
  • Better Comments
  • REST Client

Conclusion

  • Next steps
40,000 Toman