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

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Jun 13 15:14:43 CEST 2014


On 12/06/2014 17:51, jason sam wrote:
> 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
> <mailto: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
>
>     ---

Please don't top post on this list.  Please don't try telling me what to 
do or not do.  Thanks in anticipation.

-- 
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




More information about the Tutor mailing list