codecs - where are those on windows?

Fredrik Lundh fredrik at pythonware.com
Mon Oct 30 10:45:42 EST 2006


Paul Watson wrote:

>> So, my question is: on Windows. where are those CJK codecs? Are they by
>> any chance included in the 1.867.776 bytes of python24.dll ?
> 
> 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', ...

</F>




More information about the Python-list mailing list