[EMAIL PROTECTED] wrote:
> put
>
> import sys
> sys.setdefaultencoding('UTF-8')
>
> into sitecustomize.py in the top level of your PYTHONPATH .
Uh ... it doesn't seem like I've got PYTHONPATH defined on my system in
the first place:
[EMAIL PROTECTED] leif $ env |grep -i python
PYTHONDOCS=/usr/share/doc/python-docs-2.3.4/html
I ran this small snippet that I found after a search on Gentoo-forums:
>>> import sys
>>> import string
>>> path_list = sys.path
>>> for eachPath in path_list: print eachPath
...
/usr/lib/python23.zip
/usr/lib/python2.3
/usr/lib/python2.3/plat-linux2
/usr/lib/python2.3/lib-tk
/usr/lib/python2.3/lib-dynload
/usr/lib/portage/pym
/usr/lib/python2.3/site-packages
/usr/lib/python2.3/site-packages/gtk-2.0
>>>
What should my PYTHONPATH look like, and where do you suggest to put the
sitecustomize.py file?
--
Leif Biberg Kristensen
http://solumslekt.org/
--
http://mail.python.org/mailman/listinfo/python-list