> > a pattern like: > if <pattern_1>: <handle_pattern1> > elif <pattern_2>: <handle_pattern2> > >
Thanks. I really like this simple yet powerful suggestion you made. See this... import new_code ... if foo: new_code.do_new_stuff(..) We can massively modify existing code by *ONLY* adding one import and a 2 line if snippet!!! Very nice! cs -- https://mail.python.org/mailman/listinfo/python-list