Re: Referring to the class name from a class variable where inheritance is involved

2011-12-06 Thread Matt Saxton
On 06/12/11 15:57, Paul Moore wrote: I want to set up an inheritance hierarchy. The base class will define a string value which should include the class name, but I don't want people who inherit from my class to have to remember to override the value. If I do this using an instance variable, it'

Re: Reversing a List

2010-09-01 Thread Matt Saxton
s there a way to append to > the front of the list directly? > TIA, > beno The insert() method can do this, i.e. >>> cols.insert(0, 'Delete') -- Matt Saxton -- http://mail.python.org/mailman/listinfo/python-list

Re: message box in Tkinter

2010-08-17 Thread Matt Saxton
On Tue, 17 Aug 2010 04:02:23 -0700 (PDT) Jah_Alarm wrote: > > When I try importing messagebox from Tkinter i get an error message > that this module doesn't exist. > I believe what you want is Tkinter.Message -- Matt Saxton -- http://mail.python.org/mailman/listinfo/python-list