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

jason sam user0873 at gmail.com
Thu Jun 12 18:51:56 CEST 2014


The last question i hadn't asked yet..and if u are not interested in
answering the question then also refrain from commenting please!


On Thu, Jun 12, 2014 at 9:47 PM, Mark Lawrence <breamoreboy at yahoo.co.uk>
wrote:

> On 12/06/2014 05:51, jason sam wrote:
>
>> Hi All,
>> I am new to wxPython.I have made a simple GUI that contains a button and
>> by pressing that button i am calling another .py
>> file(top_block.py)...But i am getting error using the command:
>>
>> top_block.start()
>>
>> The error is:
>>
>> AttributeError: 'module' object has no attribute 'start'
>>
>> The code is as attached.I am using python 2.7.3.Any improvements in the
>> code are also welcome.The same error is received when i
>> use'top_block.run()'.Is there any alternative to this commands?
>>
>> Regards,
>> Ali
>>
>>
> I suspect that you'll get better answers on the wxpython list, especially
> consdiering that you asked there all of two minutes before asking here.
>
> --
> My fellow Pythonistas, ask not what our language can do for you, ask what
> you can do for our language.
>
> Mark Lawrence
>
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140612/fbc9bf8f/attachment.html>


More information about the Tutor mailing list