Answers for "python not found in visual studio code"

10

vscode not recognizing python import

# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
Posted by: Guest on April-27-2020
1

visual studio code import library python

"python.linting.pylintArgs": [
    "--init-hook",
    "import sys; sys.path.append('/path/to/Functions')"
]
  
# OR 

sys.path.append("/path/to/parent")

# option 1
from Functions import functions
functions.copy()
functions.delete()

# option2
from Functions.functions import copy, delete
copy()
delete()
Posted by: Guest on August-05-2020

Code answers related to "python not found in visual studio code"

Python Answers by Framework

Browse Popular Code Answers by Language