sys path append python

Solutions on MaxInterview for sys path append python by the best coders in the world

showing results for - "sys path append python"
Albane
24 Sep 2019
1sys.path is a built-in variable within the sys module. 
2It contains a list of directories that the interpreter will search 
3in for the required module.
4
5APPENDING PATH- append() is a built-in function of sys module that can be 
6used with path variable to add a specific path for interpreter to search. 
7The following example shows how this can be done.
8
9import sys
10sys.path.append('C:/Users/Vanshi/Desktop')