vscode not recognizing python import
# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
vscode not recognizing python import
# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
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()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us