Python idea/proposal to assist in single-archive python applications

Brian Allen Vanderburg II BrianVanderburg2 at
Sun Dec 7 12:45:16 EST 2008

duncan.booth at invalid.invalid wrote:
> Why not use pkgutil.get_data()?
> Provided you remember to put your zip file on PYTHONPATH you can already 
> run modules directly out of a zipfile (Python 2.5 and later).If your 
> zipfile contains then with Python 2.6 or later you can run it 
> directly: just specify the zip filename on the command line.
> I'm not sure what, if anything, you are asking for that doesn't already 
> exist in Python.
> --

I wasn't aware of for Python 2.6, I think this will work for 
my needs.  I'll look into using pkgutil for for loading data from the 


Brian Vanderburg II

More information about the Python-list mailing list