[Tutor] Really basic won't run error
Phil
phillor9 at gmail.com
Sun Jul 4 06:28:48 EDT 2021
On 4/7/21 7:16 pm, dn via Tutor wrote:
> Reading the err.msgs we are first pointed to "line 38" which attempts to
> first "instantiate" and then "Show" an "ImagePanel", with the comment
> that a "positional argument" is missing (omitted).
>
> Previously in the code, class ImagePanel is defined. Its __init__()
> declares a "parent" parameter. This is missing from line 38.
>
> It has been a while since I played with wxPython. Should the "app"
> object, instantiated on line 37, be provided as an argument to ImagePanel?
Thank you dn for your reply. At the moment I don't know what lines 37
and 38 are referring to, possibly some wxPython class constructor code.
It's time to give this away for the day.
--
Regards,
Phil
More information about the Tutor
mailing list