Answers for "vscode run python always through virtualenv"

0

pipenv with vscode

pipenv --py
take the output of this and put it in the "select interperter"

pipenv install --dev pylint
for error validation
Posted by: Guest on July-28-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

Python Answers by Framework

Browse Popular Code Answers by Language