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.

Specific point: It looks like perhaps you're trying to assign in the
middle of a function call. That doesn't do what you think it does, but on
sufficiently-recent versions of Python, you can do this with "input_var :=
tk.IntVar". That might be the easiest solution.

Yes, I need to use a diffrent syntax for Checkbuttons and Radiobuttons than
for other widgets. Back to my reference book for more study.

Regards,

Rich
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to