Re: can python import class or module directly from a zip package

2009-03-12 Thread Coonay
On Mar 11, 9:47 pm, Lorenzo wrote: > On Mar 10, 2:13 pm, Flank wrote: > > > can python import class or  module directly from  a zip package ,just > > like jave does from jar package without extracting the class file into > > directory > > > so far as i know ,python module should be unzip to file

Re: can python import class or module directly from a zip package

2009-03-11 Thread Gabriel Genellina
En Wed, 11 Mar 2009 11:47:54 -0200, Lorenzo escribió: On Mar 10, 2:13 pm, Flank wrote: can python import class or  module directly from  a zip package ,just like jave does from jar package without extracting the class file into directory so far as i know ,python module should be unzip to fi

Re: can python import class or module directly from a zip package

2009-03-11 Thread Lorenzo
On Mar 10, 2:13 pm, Flank wrote: > can python import class or  module directly from  a zip package ,just > like jave does from jar package without extracting the class file into > directory > > so far as i know ,python module should be unzip to file system in > order to use them, After a little d

Re: can python import class or module directly from a zip package

2009-03-10 Thread Stefan Behnel
Flank wrote: > can python import class or module directly from a zip package Yes, just put the .zip file into your PYTHONPATH. Stefan -- http://mail.python.org/mailman/listinfo/python-list