In ruby, the library path is specified in $: in perl it in @INC - how do you get the list of paths that Python looks for modules when importing?
$:
@INC
I think you are looking for sys.path
import sys print (sys.path)
You can also make additions to this path with the PYTHONPATH environment variable at run time, in addition to:
import sys sys.path.append('/home/user/python-libs')
import sys sys.path