KraftDiner wrote: > try this: > > class x(object): > def __init__(self): > self.someName = "hello" > def someMethod(self): > self.sumName = "bye" > > find that bug.
Write a test for each method before writing the method. Write the code once; read it critically (at least) twice. If you find that too difficult, use a different programming language (one in which you have to declare every variable) and become less productive. A. -- http://mail.python.org/mailman/listinfo/python-list