Tkinter + Entry + cp1251 cyrillic
Martin v. Loewis
martin at v.loewis.de
Sun Feb 24 03:30:37 EST 2002
Kirill Simonov <kirill_simonov at mail.ru> writes:
> Try to replace "Python22\Lib\lib-tk\FixTk.py" with the following:
>
> import sys, os
>
> if not os.environ.has_key('TCL_LIBRARY'):
> tcl_library = os.path.join(sys.prefix, "tcl", "tclX.Y")
> os.environ['TCL_LIBRARY'] = tcl_library
Can you please explain what this change achieves, compared to the
FixTk.py that is already there? In particular, do you mean that "X.Y"
should be used literally?
Regards,
Martin
More information about the Python-list
mailing list