durusmail: quixote-users: Re: py2exe and quixote (with medusa)
py2exe and quixote (with medusa)
2004-03-27
Re: py2exe and quixote (with medusa)
2004-03-29
2004-03-29
2004-03-29
2004-03-29
Re: py2exe and quixote (with medusa)
Oleg Broytmann
2004-03-29
On Mon, Mar 29, 2004 at 09:38:51AM -0500, Graham Fawcett wrote:
>     import sys
>     sys.path.append('.')

   Don't do it. It will loose hell after the first os.chdir(). Always
use absolute paths:

import sys, os
sys.path.append(os.path.abspath('.'))

Oleg.
--
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


reply