organizing your scripts, with plenty of re-use

Carl Banks pavlovevidence at
Tue Oct 13 01:30:16 CEST 2009

On Oct 12, 11:24 am, Buck <workithar... at> wrote:
> On Oct 10, 9:44 am, "Gabriel Genellina" <gagsl-... at>
> wrote:
> > The good thing is that, if the backend package is properly installed  
> > somewhere in the Python path ... it still works with no modifications.
> I'd like to get to zero-installation if possible. It's easy with
> simple python scripts, why not packages too? I know the technical
> reasons, but I haven't heard any practical reasons.

No it's purely technical.  Well mostly technical (there's a minor
issue of how a script would figure out its "root").  No language is
perfect, not even Python, and sometimes you just have to deal with
things the way they are.

We're trying to help you with workarounds, but it seems like you just
want to vent more than you want an actual solution.

If it makes you feel better, go ahead and vent.  If you want a
solution, try instead to sit down and implement the advice Steven,
Gabriel, or I gave you.

> If the reasons are purely technical, it smells like a PEP to me.

Good luck with that.  I'd wholeheartedly support a good alternative, I
just want to warn you that it's not a simple issue to fix, it would be
involve spectacular and highly backwards-incompatible changes.

Carl Banks

More information about the Python-list mailing list