Every thing on a database

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Wed Sep 2 00:24:21 EDT 2009


On Tue, 01 Sep 2009 19:16:29 -0700, zelegolas wrote:

> I really like python but I have one thing that I don't like: Every
> packages are defined with folder tree. To deploy an application it's not
> really clean.
> 
> It's why I thought about "Is that possible to put everything that I need
> for my python application under one file?"
> 
> Base on this idea: If all packages are under one file. Like this each
> time an import is executing it will automatically extract packages,
> library or any files from this file first and if doesn't find it from
> the standard way. This file could a SQLite file for example.

Would a zip file do?

http://docs.python.org/library/zipimport.html



-- 
Steven



More information about the Python-list mailing list