[Tutor] importing

2007-11-04 Thread Lawrence Shafer
What is the difference between from name import * and import name? The reason I ask is because I was using the former, and switched to the latter only to find out NameError: global name 'name' is not defined and I think using the latter is going to fix another problem I have. I just want to

Re: [Tutor] underlying C/C++ object has been deleted

2007-10-25 Thread Lawrence Shafer
with some stupid way I'm initializing the iac_ui.py file. Like I said, I'm not used to QTDesigner and complex programs like this. Again, any help appreciated! Lawrence Shafer wrote: I am trying to convert a program with hand coded QT over to using UI files from QT Designer. I am getting the error

[Tutor] underlying C/C++ object has been deleted

2007-10-24 Thread Lawrence Shafer
I am trying to convert a program with hand coded QT over to using UI files from QT Designer. I am getting the error below and do not understand what's going on. I have a feeling I need to add self. to something in here, but I'm not sure what. Is this enough code for you to see whats going on??

[Tutor] Trouble with RuntimeError: underlying C/C++ object has been deleted.

2007-05-03 Thread Lawrence Shafer
Hello List, I am just learning Python/PyQt4, and have a problem I cannot figure out. Here's what happens. Traceback (most recent call last): File iac.py, line 124, in on_actionOpen_triggered self.open() File iac.py, line 66, in open if self.isUntitled and

[Tutor] Trouble with RuntimeError: underlying C/C++ object has been deleted.

2007-04-17 Thread Lawrence Shafer
Hello List, I am just learning Python/PyQt4, and have a problem I cannot figure out. Here's what happens. Traceback (most recent call last): File iac.py, line 124, in on_actionOpen_triggered self.open() File iac.py, line 66, in open if self.isUntitled and