codecs - where are those on windows?

GHUM haraldarminmassa at gmail.com
Sat Nov 4 14:00:15 CET 2006


Fredrik Lundh schrieb:

> > If your installation directory is C:\Python25, then look in
> > C:\Python25\lib\encodings
>
> that's only the glue code.  the actual data sets are provided by a bunch
> of built-in modules:
>  >>> import sys
>  >>> sys.builtin_module_names
> ('__builtin__', '__main__', '_ast', '_bisect', '_codecs',
> '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp',
> '_codecs_kr', '_codecs_tw', ...

So, it should be possible to do a custom build of python24.dll /
python25.dll without some of those codecs, resulting in a smaller
python24.dll ?

It will be some time untill my apps must support Chinese and
Japanese...

Harald




More information about the Python-list mailing list