Popular recipes by Anders Hammarquist http://code.activestate.com/recipes/users/136364/2007-03-21T10:28:42-07:00ActiveState Code Recipesattribute proxy - forwarding attribute access (Python) 2007-03-21T10:28:42-07:00Anders Hammarquisthttp://code.activestate.com/recipes/users/136364/http://code.activestate.com/recipes/510402-attribute-proxy-forwarding-attribute-access/ <p style="color: grey"> Python recipe 510402 by <a href="/recipes/users/136364/">Anders Hammarquist</a> . </p> <p>This recipe lets you transparently forward attribute access to another object in your class. This way, you can expose functionality from some member of your class instance directly, e.g. foo.baz() instead of foo.bar.baz().</p> Importing a dynamically generated module (Python) 2001-10-17T07:31:20-07:00Anders Hammarquisthttp://code.activestate.com/recipes/users/136364/http://code.activestate.com/recipes/82234-importing-a-dynamically-generated-module/ <p style="color: grey"> Python recipe 82234 by <a href="/recipes/users/136364/">Anders Hammarquist</a> (<a href="/recipes/tags/sysadmin/">sysadmin</a>). </p> <p>This recipe will let you import a module from code that is dynamically generated. My original use for it was to import a module stored in a database, but it will work for modules from any source.</p>