SyntaxError: positional argument follows keyword argument

Chris Angelico rosuav at gmail.com
Fri Jun 7 16:05:00 EDT 2019


On Sat, Jun 8, 2019 at 6:01 AM Rich Shepard <rshepard at appl-ecosys.com> 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.

ChrisA



More information about the Python-list mailing list