accessing attributes when inheriting?

2006-03-16 Thread Peter Bismuti
How do you access attributes of a class when inheriting from it? Can't you just say: self.attribute? Help?! ... #!/usr/bin/python from Dialog import Dialog import enscmd class

TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'

2006-03-16 Thread Peter Bismuti
/acct/pjb9508/RAT/Scripts/PyQt/rat.py, line 12, in planeClip plane1[1] = origin[1]-width TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple' -- Peter Bismuti # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Dialog.ui' # # Created: Thu Mar 16 09:42:22 2006

TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'

2006-03-16 Thread Peter Bismuti
, in planeClip plane1[1] = origin[1]-width TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple' -- Peter Bismuti # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Dialog.ui' # # Created: Thu Mar 16 09:42:22 2006 # by: The PyQt User Interface Compiler (pyuic) 3.13