Monthly Archives: March 2010

Adding object class method in Python at run-time

Just a quick note about Python. I’ve recently tried to find answer for adding methods dynamically to Python objects created at run-time. I’ve seen solutions that use import new and then new.instancemethod, but it seems this module is deprecated and … Continue reading

Posted in Coding, Programming, Python | Leave a comment