On Wed, May 21, 2008 at 7:45 PM, Laureano Arcanio <[EMAIL PROTECTED]> wrote: > > I'm using the dir() function, but this give me an alphabetic ordered list, > is there any way to do the same but getting an appearance ordered list ?.
Not easily. Attributes are stored in a dict; dicts don't preserve order. You would have to make a custom metaclass that remembered the order. What is it you are trying to accomplish? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor