would be nice: import from archive

Just just at xs4all.nl
Mon Aug 30 02:32:43 EDT 2004


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

> Just <just at xs4all.nl> writes:
> 
> > But since .pyc's are always generated in the same directory as the .py 
> > files, where else would you expect them to be generated?
> 
> At the directory where the zip archive is stored.

How does that follow? The zip archive _itself_ is the "directory" where 
the .py files are, why would Python suddenly choose to write .pyc files 
one level up? And what about packages? It simply doesn't work that way.

Just



More information about the Python-list mailing list