Re: [Python] Problema con __getattr__
Daniele Varrazzo ha scritto: [...] Grazie per tutte le info. Stasera dopo il lavoro provo ad applicarle. Ciao. ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Problema con __getattr__
On Sun, 26 Oct 2008 22:44:41 +0100, Listemessaggi CoPlast <[EMAIL PROTECTED]> wrote: > Ma se come detto, faccio l'overloading di questo operatore, cioè con: > > class Commuter: > def __init__(self, val): > self.val = val > def __getattr__(self, nome): > print("BO") > >