Newbie Alert: Help me store constants pythonically

Brendan spam4bsimons at yahoo.ca
Sun Nov 6 13:02:12 EST 2005


Thanks for the vote FB.  The reason I'm using that method for assigning
instance attributes is that the argument list for __init__ is LOOONG.
(There are many constants, I only gave two for the examples).  I wanted
to avoid typing them out twice.




More information about the Python-list mailing list