Tkinter installation problems
Fredrik Lundh
effbot at telia.com
Wed Feb 23 11:30:50 EST 2000
Mladen Bestvina <bestvina at math.utah.edu> wrote:
> mladen at drava:/home/mladen/projects/grayson > python
> Python 1.5.2 (#4, Feb 14 2000, 16:39:33) [GCC pgcc-2.91.57 19980901
> (egcs-1.1 re on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import _tkinter
> >>> import Tkinter
> >>> Tkinter._test()
> File "<stdin>", line 1
> Tkinter._test()
> ^
> SyntaxError: invalid syntax
umm. that's no Tkinter installation problems (but I'm
sure Gerrit will pop up and say it is ;-)
you've stumbled upon a basic Python feature: you cannot
change the indentation level unless you're opening a new
block.
in other words, get rid of that extra leading space, and see
if you get any further.
</F>
PS. if your response isn't "duh", make sure you work through
a few basic Python examples before diving into the wonderful
world of Tkinter.
More information about the Python-list
mailing list