Property Function

AON LAZIO aonlazio at gmail.com
Wed Sep 24 03:05:27 CEST 2008


Hi,
    In python code,
    class A:
        get(self):
              do something
        set(self):
              do something
        g=property(get,set)

what is the good use of "property" function?, I do not understand clearly..


Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080923/edcaeb0d/attachment.html>


More information about the Python-list mailing list