I'm trying the Designer GUI TOOL of pyFpdf but upon running the designer.py
with python designer.py
it gives an error:
File "designer.py", line 154
except Exception, e:
^
SyntaxError: invalid syntax
I checked the python file at line 154 and it's this code:
try:
values[field] = eval(dlg.textctrls[field].GetValue())
except Exception, e:
msg = wx.MessageDialog(parent, unicode(e),
"Error in field %s" % field,
wx.OK | wx.ICON_INFORMATION
)
msg.ShowModal()
msg.Destroy()
break
Is it the pyfpdf's problem?
I'm running Python 3.8