Python style questions

François Granger francois.granger at free.fr
Fri Mar 16 15:43:28 EST 2001


Aahz Maruch <aahz at panix.com> wrote:

> In article <98tb91$9t9$1 at saltmine.radix.net>,
> Cary O'Brien <cobrien at Radix.Net> wrote:

> >3. I really miss not having a "switch" or "case" statement.  Sniff.

> Use a dictionary.

Some code snippet as exemple ?
At this point, I can't imagine a good way, and I don't remember seeing
something on this.

-- 
Le "bon sens" étant la chose du monde la mieux partagée, 
il est normal que chacun en ai si peu - Inconnu



More information about the Python-list mailing list