Advanced

Python Metaprogramming Decorators Make Magic Easy

Posted by IdaAshley on
IBM/developerWorks; By David Mertz, Ph.D.
Mail this story
Print this story

Each Python version has added slightly different wrinkles to the way you accomplish metaprogramming tricks. With the newest 2.4 version, Python has grown "decorators", the most user-friendly way so far, to perform most metaprogramming. Decorators modify the function or method that is defined immediately after the decorator.

Other Popular Articles

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: IBM, Linux, Microsoft

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Subject Topic Starter Replies Views Last Post
wonderful Alcibiades 1 2,150 Jan 18, 2007 2:55 PM

You cannot post until you login.