Re: codecs - where are those on windows?




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

.



Relevant Pages

  • Re: Recovery Console and Goback
    ... just have a bunch of apps cd's. ...
    (microsoft.public.windowsxp.general)
  • Re: Daemonizing python
    ... import os, sys ... print "Entering program" ... Thanks a bunch, Paul. ...
    (comp.lang.python)
  • Re: SMS 2003 vs SUS
    ... Figured out the query after a bunch of digging. ... from v_R_System sys ... JOIN v_FullCollectionMembership fcm ...
    (microsoft.public.sms.admin)