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

2014-06-13 Thread Prasad, Ramit
> Please don't top post on this list. Please don't try telling me what to > do or not do. Thanks in anticipation. Oh the irony. Ramit This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and compl

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

2014-06-13 Thread Mark Lawrence
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 mailto:breamore...@yahoo.co.uk>> wrote: On 12/06/2014 05:51, jason sam w

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

2014-06-13 Thread Dave Angel
jason sam Wrote in message: > (Please use text mail, as html gets distorted and/or jumbled. Also, many people here cannot see attachments, so you should paste them into your text message. And be sure to put a marker before each file indicating it's original filename) self.update_grid() F

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

2014-06-13 Thread jason sam
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 wrote: > On 12/06/2014 05:51, jason sam wrote: > >> Hi All, >> I am new to wxPython.I have made a simple GUI that

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

2014-06-13 Thread jason sam
Thnx for all the suggestions...Now i have made amendments to my program and its working now...but there is a new problem nowI am now calling a python script generated by GNU Radio Companion(for those who know about GRC will understand my question better)...when i press the execute button i get

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

2014-06-12 Thread Walter Prins
On 12 June 2014 13:11, Steven D'Aprano 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. >

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

2014-06-12 Thread Steven D'Aprano
On Thu, Jun 12, 2014 at 05:47:23PM +0100, Mark Lawrence wrote: > 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. This is not aimed specifically at Mark. Can we please stop chastising people fo

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

2014-06-12 Thread Mark Lawrence
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

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

2014-06-12 Thread Alan Gauld
On 12/06/14 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)... No you are not. You are importing it and then trying to access something called start which doesn't exist.

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

2014-06-12 Thread Steven D'Aprano
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! -- Steven

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

2014-06-12 Thread Walter Prins
Hi, On 12 June 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: > > Attr

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

2014-06-12 Thread jason sam
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 a