Global join function?

Chris Rebert clp2 at
Wed Mar 14 19:54:32 CET 2012

On Wed, Mar 14, 2012 at 11:41 AM, Darrel Grant <darrel343 at> wrote:
> In the virtualenv example bootstrap code, a global join function is used.
>[join(home_dir, 'bin', 'easy_install'),
>                     'BlogApplication'])
> In interpeter, I tried this:
>>>> [join([], 'bin', 'easy_install')]
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> NameError: name 'join' is not defined
> I think I've seen this used elsewhere, but googling only seems to show
> results about the string method join, not whatever this is.

Those example snippets are broken. They're presumably missing the line:
    from os.path import join
Docs for the function in question:


More information about the Python-list mailing list