Skip to content

Tag: tcl

How to bind Tcl callbacks in Python

I was reading about msgcat. Quote from the docs: ::msgcat::mcunknown locale src-string ?arg arg …? This routine is called by ::msgcat::mc in the case when a translation for src-string is not defined in the current locale. The default action is to return src-string passed by format if there are any argum…

_tkinter.TclError: can’t find package comm

Running into this issue when trying to utilize the comm package: i’m using python 3.6.8 on windows 10 Answer If you know the directory where the comm package is installed (either the directory containing the pkgIndex.tcl or the immediate parent directory), you should make sure that’s on Tcl’…