[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SyntaxError: positional argument follows keyword argument

On Sat, Jun 8, 2019 at 6:01 AM Rich Shepard <rshepard at> wrote:
> On Sat, 8 Jun 2019, Chris Angelico wrote:
> > General principle: When you see a syntax error, look *before* that point
> > (reading top-to-bottom, left-to-right, same as the parser does). Often,
> > the problem is prior to the point where it was actually discovered.
> Chris,
> This is why I commented out all widgets prior to the ttk.Checkbutton. If the
> error was earlier the error would not have appeared.

Right, but the problem was actually in the LabelInput call, not the
Checkbutton itself.