would be nice: import from archive

Just just at xs4all.nl
Sun Aug 29 16:21:07 EDT 2004


In article <m3sma5zqx0.fsf at g2ctech.com>, Jorge Godoy <godoy at ieee.org> 
wrote:

> Just <just at xs4all.nl> writes:
> 
> > The zipimport module will never write to the zip archive, so for most 
> > efficient imports, you have to store .pyc data in there yourself. 
> > zipimport is mostly meant as a repackaging tool, and typical zip files 
> > only contain .pyc files.
> 
> They aren't created even outside of the zip archive, this is what I
> meant ;-)

But since .pyc's are always generated in the same directory as the .py 
files, where else would you expect them to be generated?

Just



More information about the Python-list mailing list