[FRPythoneers] Base Object in Python

Keith Hellman kehellman at yahoo.com
Wed Jan 23 15:17:51 MST 2002


How do I create the most generic of generic objects in python?  I realize
it can be as simple as 

class super : pass
s = super()
# Now I could do dir(s), s.__dict__, setattr(s, 'spam', None )...

I'm just curious if python has a built-in function or type that fulfills
this type of need.  This 100% a curiosity question ...

TIA

=====
Keith E. Hellman
kehellman at yahoo.com

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the FRPythoneers mailing list