> > > Può avere senso trappare l'import, per esempio: > > try: > from functools import wraps > except ImportError: > from django.utils.functional import wraps # Python 2.3, 2.4 fallback. > > > Tra l'altro è in questi casi che trovo utile il costrutto import ... as > .... >
E questo dimostra il perche' TU puoi scrivere un libro di successo sul Python e io invece posso solo leggerlo prometto che vado a prenderlo domani stesso) :). Carlos -- If you have no voice, SCREAM! If you have no legs, RUN! If you have no hope, INVENT!
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python