Python3-3.7.3: cannot run pdb
Rich Shepard
rshepard at appl-ecosys.com
Fri Jun 7 13:31:38 EDT 2019
On Fri, 7 Jun 2019, MRAB wrote:
> It's possible that the error is actually on the previous line and that it
> thinks that what's on line 35 is a continuation of what's on line 34, but
> it isn't.
MRAB,
If that's the case I'm missing seeing the error. Here are the lines prior to
and including line 36:
def __init__(self, parent, *args, **kwargs):
super().__init__(parent, *args, **kwargs)
# A dict to keep track of input widgets
self.inputs = {}
# line 0
self.inputs['name'] = LabelInput(
self, 'Site Name',
input_var=tk.StringVar(),
)
self.inputs['name'].grid(sticky=tk.W, row=0, column=0)
self.inputs['date'] = LabelInput(
self, 'Sample Date',
input_var=tk.StringVar(),
)
self.inputs['date'].grid(row=0, column=1)
self.inputs['medium'] = LabelInput(
self, 'Medium',
med = tk.StringVar()
boxchoices = ttk.Combobox(self, textvariable=med,
values=['Storm water', 'Surface water',
'Ground water', 'Sediments', 'Soils'])
)
emacs shows all parentheses are paired. I hope that fresh eyeballs see what
I keep missing.
Regards,
Rich
More information about the Python-list
mailing list