[Tutor] AttributeError: 'module' object has no attribute 'start'

Walter Prins wprins at gmail.com
Thu Jun 12 22:25:12 CEST 2014


On 12 June 2014 13:11, Steven D'Aprano <steve at pearwood.info> wrote:
> On Thu, Jun 12, 2014 at 11:41:58AM +0100, Walter Prins wrote:
>
>> (What made you think that modules have a magic method
>> start() that causes them to run?)  You should probably learn more
>> about Python itself, name binding, module objects etc.
>
> That's what this list is for!

Of course. The way the OP asked his question, stating he's a beginner
to wxPython, but omitting to state that he's also Python beginner,
leaves one with the impression that he might be (or think that he is)
relatively/more skilled at at Python.  The nature of the problem he's
having however indicates a basic lack of understanding of Python
itself, which should be easily remedied by a bit of self study, which,
given that he's teaching himself wxPython is probably realistic, and
which is why I suggested it.  Of course, if he does run into further
questions then he's most welcome to ask, apologies if I might've given
a different impression.

Walter


More information about the Tutor mailing list