[Zope-Coders] Re: sys futzing

Chris McDonough chrism@zope.com
Mon, 19 Nov 2001 09:52:36 -0500


I don't frown upon them.  They're useful.  ;-)

----- Original Message ----- 
From: "Chris Withers" <chrisw@nipltd.com>
To: "Chris McDonough" <chrism@zope.com>
Cc: <zope-coders@zope.org>
Sent: Sunday, November 18, 2001 6:57 AM
Subject: sys futzing


> Chris McDonough wrote:
> > 
> > if __name__=='__main__':
> >     import sys
> >     sys.path.insert(0, '../../..')
> >     sys.path.insert(0, '..')
> 
> I thought doing things like this were frowned upon now?
> 
> Is the policy on this anywhere documented yet?
> 
> cheers,
> 
> Chris
>