Tkinter - Text - bullets

Thomas Lehmann Iris-und-Thomas-Lehmann at
Tue Sep 22 07:45:43 CEST 2009

> This is probably why you had all these alignment problems. But it's
> weird, because the script I posted is copied and pasted from a really
> script that I've run, and which doesn't cause any error. What is the
> version of tcl/tk used by your Tkinter module? And what is your Python
> version?

Using python 2.5 (with Tcl/Tk 8.4):

Traceback (most recent call last):
  File "", line 10, in <module>
    txt.tag_configure('bulleted_list', font=('Times', 18),
lmargin1='10m', lmargin2='15m', tabs=['15m'])
  File "E:\Python25\lib\lib-tk\", line 3066, in
    return self._configure(('tag', 'configure', tagName), cnf, kw)
  File "E:\Python25\lib\lib-tk\", line 1188, in _configure, cmd)) + self._options(cnf))
_tkinter.TclError: bad screen distance "['15m']"

More information about the Python-list mailing list