importing packages from a zip file

Jp Calderone exarkun at
Wed Jun 29 20:15:09 CEST 2005

On Wed, 29 Jun 2005 18:49:10 +0000, Peter Tillotson <none at no.chance> wrote:
>cheers Scott
>should have been
>from import
>and no it didn't work, anyone know a reason why this syntax is not
>preferred ??
>sorry posted the soln again, it works but feels nasty

Including paths in source files is a disaster.  As soon as you do it, you need to account for alternate installation schemes by rewriting portions of your source files.

Separating path names from module names lets you avoid most of this mess.


More information about the Python-list mailing list