examples about metaprogramming in python