Python 2.1 and Unicode

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Feb 2 16:26:18 EST 2001


"Alex Martelli" <aleaxit at yahoo.com> writes:

> http://www.python.org/doc/current/lib/module-site.html and environs.
> 
> Basically, strategically placing .pth files will help you "identify your
> module libraries" etc.  Then, sitecustomize.py, if it exists, lets you do
> any last-minute site-specific tweaks -- it's imported first.

Furthermore, starting from Python 2.1, you can have "code" in a .pth
file, i.e. lines starting with import. That way, you can easily add to
__builtins__ if you want without editing sitecustomize.py.

Regards,
Martin



More information about the Python-list mailing list