~/.local not in sys.path?

skip at pobox.com skip at pobox.com
Sat Mar 28 16:52:05 CET 2009


    >> I don't see ~/.local in sys.path.

    $,1(T(P(\(x(P(](B> Here it is,
    $,1(T(P(\(x(P(](B> /home/damjan/.local/lib/python2.6/site-packages
    $,1(T(P(\(x(P(](B> by default no special settings (on ArchLinux if it matters).

Thanks.  I have such a large sys.path (too many eggs) that I didn't see it.
When I got a bit more precise in my search it revealed itself:

    >>> [p for p in sys.path if '.local' in p]
    ['/Users/skip/.local/lib/python2.7/site-packages']

-- 
Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/



More information about the Python-list mailing list