append to pythonpath
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
append to pythonpath
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
sys.path.append python
sys.path is a built-in variable within the sys module.
It contains a list of directories that the interpreter will search
in for the required module.
APPENDING PATH- append() is a built-in function of sys module that can be
used with path variable to add a specific path for interpreter to search.
The following example shows how this can be done.
import sys
sys.path.append('C:/Users/Vanshi/Desktop')
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