Display all properties with reflection

2007-10-20 Thread sccs cscs
Hello, I like create a methode that display all the properties of an instance of classe with their value. I try the following code: see def __str__ (self) methode. But it displays only the instance attributes values not the properties and their value. In pseudo-code: For Each Properties :

Re: Display all properties with reflection

2007-10-20 Thread Gabriel Genellina
En Sat, 20 Oct 2007 06:03:55 -0300, sccs cscs [EMAIL PROTECTED] escribi�: Hello, I like create a methode that display all the properties of an instance of classe with their value. I try the following code: see def __str__ (self) methode. But it displays only the instance attributes