Skip to main content
TechBrushUp master tech
  • Tutorials
    • JavaScript
    • HTML
    • CSS
    • Python
  • AI
    • AI Video Creation Tool
    • How to write an AI prompt
    • GenAI Roadmap for Beginners
  • Web
    • Sample resume
    • Resume builder
    • Download movies for free
    • Download paid sotware for free
  • JavaScript
  • HTML
  • CSS
  • Angular
  • DSA
  • ReactJS
  • Docker
  • Python

Menu

  • Tutorials
    • Python Tutorial
    • LangChain Tutorial
    • HTML Tutorial
    • CSS Tutorial
    • JavaScript Tutorial
  • AI
    • AI Video Creation Tool
    • ML Basics
    • LLM Fine-tuning
    • AI Ethics
  • Web
    • HTML/CSS Exercises
    • JavaScript Exercises
    • React Exercises
    • Node.js Exercises

पग चिन्ह

  1. मुख्य पृष्ठ
  2. Python

Configure Python with VS Code

Profile picture for user admin
द्वारा admin , 2 मार्च, 2022

Step 1: Download the latest version to Install from official website https://visualstudio.microsoft.com/downloads/.

Step 2: Go to extension icon and search Python and enabled the extension.

extension

Step 3: Verify and select correct Python version in VS.

 open your .py file and see below in status bar

path

Step 4: Set file Execution In current File Dir.

Go to File->Preferences->settings and search "Execute In File Dir" make sure you have checked box .

Step 5: Set Customize Run and Debug for current working directory.

click on create a launch.json file and choose "Python File"  and add  lines at bottom 

 "cwd": "${fileDirname}",

cwd

About text formats

सादा टेक्स्ट

  • No HTML tags allowed.
  • लाइन और पैराग्राफ स्वतः भंजन
  • Web page addresses and email addresses turn into links automatically.

Book navigation

  • Code Standards in Python
  • Installing Python
  • Python Classes
  • Python Conditional structure
  • Python Data Types
  • Python History
  • Python Loops
  • Python Variables
  • Python functions
  • Working with Files
  • Python Comments
  • Configure Python with VS Code
RSS feed
TechBrushUp

© 2025 TechBrushUp, Inc. All rights reserved.