On Mar 15, 11:13 am, "tonyr1988" <[EMAIL PROTECTED]> wrote:
> if __name__=='__main__': > x = DemoClass > x.WriteToFile > You meant to create a DemoClass instance object, but instead, you obtained a reference to the class object. You want 'x = DemoClass()' instead. You meant to call the WriteToFile method, but instead, you obtained a reference to the method object. You want 'x.WriteToFile()' instead. -- http://mail.python.org/mailman/listinfo/python-list