Neil Benn wrote: (snip) > If you don't have a class how can you combine functionality with data > and hold state
In Python, functions can hold state in various ways: closures, generators, and - Python functions being instances of the function class - attributes. > - that is one of the points of a class. Yeps, but not the only way to solve the problem (even if it's actually my favorite one !-) (snip) > Enterprise systems have different objectives than a cgi script or single > client install stuff. Would you call Zope a cgi script or a single client install stuff ? -- bruno desthuilliers ruby -e "print '[EMAIL PROTECTED]'.split('@').collect{|p| p.split('.').collect{|w| w.reverse}.join('.')}.join('@')" -- http://mail.python.org/mailman/listinfo/python-list