Re: [Python] importare modulo da directory superiore

2008-07-28 Per discussione y3s
lun 28/07/08 16:32 , 'enrico franchi' [EMAIL PROTECTED] ha inviato: > On Sun, Jul 27, 2008 at 11:47 PM, Manlio Perillo > > manl > [EMAIL PROTECTED]> wrote: > > > > A partire da Python 2.5: > > > from .. import x > > > > > > http://docs.python.org/whatsnew/pep-328.html > > > > > Comunque si

Re: [Python] importare modulo da directory superiore

2008-07-28 Per discussione enrico franchi
On Sun, Jul 27, 2008 at 11:47 PM, Manlio Perillo <[EMAIL PROTECTED]> wrote: > A partire da Python 2.5: > from .. import x > > http://docs.python.org/whatsnew/pep-328.html > > Comunque si consiglia di usare sempre gli import assoluti. Vero, perĂ² per il testing unitario a me fa comodo. :P -- -en