py2exe - too many Tk files

Gordon McMillan gmcm at hypernet.com
Sat Jun 2 04:43:14 CEST 2001


Nick Perkins wrote: 

>..I was also wondering about all those funky 'encoding' files,
>
>eg:
>
>macJapan.enc  48 kb
>cp949.enc    130 kb
>cp936.enc    132 kb
>
>..and many others
>
>They add up to quite a bit, and I sure don't need all of them.
>I probably need at least one, I suppose, maybe ascii.enc (the smallest
>one at about 1 kb ).
>
>On a related note, will having too many Tk files increase the run-time
>memory usage of an app?  I sent a 'compiled' Tk app to a friend who was
>surprised that such a simple little program was using 5MB ram on his
>Win2K. 

I doubt that it's the encoding files themselves. Both Python 2 and Tcl 8.3 
grew Unicode support, which increases the size of (the cores of) each very 
considerably. Then there's the use of MSVC 6, which treats disk space and 
RAM as dirt cheap.

I suppose one day I'll have to face the fact that those furriners who use 
those silly characters are people, too <0.9 wink>, but I still mostly use 
Python 1.5.2 for that reason (and speed).

- Gordon



More information about the Python-list mailing list