Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #visual #studio #code #import #library #python
ADD COMMENT
Topic
Name
8+2 =