[Tutor] Dynamically generated classes
Alan Gauld
alan.gauld at btinternet.com
Thu Dec 23 13:25:47 CET 2010
"Karim" <karim.liateni at free.fr> wrote
> You mentioned the facade pattern. Could you please provide a basic
> simple implementation of this pattern in python?
Not without spending more time than I have available.
But you can read about it on wikipedia, including Java example code.
However I think I actually should have said an Adaptor pattern
rather than a Facade...
http://en.wikipedia.org/wiki/Adapter_pattern
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list