tclancy on 04/27/10
Last Edited at 04/27/10 04:15pm
C.__dict__['classattr'] = value
URL: http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html#the-dynamic-dict
Report this snippet Tweet
Comment:
You need to login to post a comment.