adriandz
0
Q:

installing python packages in visual studio code

py -3 -m venv .venv
.venv\scripts\activate
0
"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()
1
py -m pip install numpy
1

New to Communities?

Join the community