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 self.textBrowser.documen
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 self.textBrowser.
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??
has
something to do 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
> file
Why doesn't this fill otp with the output of ls?? (I know python has
it's own file tools, I'm just playing around ;)
import os
cmd="""ls"""
otp=os.system(cmd)
print otp
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tuto
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
How would I compare these two dates and extract the difference in H:M:S??
22 Nov 2007 18:54:07
23 Nov 2007 23:24:23
Cheers,
Lawrence
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor