Re: zipimport limited to 65536 files?

2014-05-01 Thread Terry Reedy
On 5/1/2014 3:49 PM, Tom Graves wrote: Hello, I am trying to use python (2.6.6) to read a jar file that contains python files. I'm simply setting PYTHONPATH=spark-assembly-1.0.0-SNAPSHOT-hadoop2.4.0.jar. Unfortunately it fails to read the python files from the jar file and if run in verbose

Re: zipimport (.pyd & .so) files.

2010-07-10 Thread King
I think I am trying to open a can of worms. It's better to leave the idea for now. Prashant -- http://mail.python.org/mailman/listinfo/python-list

Re: zipimport (.pyd & .so) files.

2010-07-09 Thread Thomas Jollans
On 07/09/2010 06:36 PM, King wrote: > Hi, > > The 'zipimport' modules can only import (.py & .pyc) files from a zip > file and doesn't support importing .pyd & .so files. Recently I was > examining the code of Py2Exe (python package deployment tool) and I > have found that it is using a module 'zi

Re: zipimport (.pyd & .so) files.

2010-07-09 Thread Christian Heimes
> It's strictly for windows platform. I would like to know from expert > python users and linux programmers, how we can achieve similar > functionality on linux platform? I do have limited c/c++ skill sets > but I would love to give a try. I don't know any way to load a shared library from somethi

Re: zipimport (.pyd & .so) files.

2010-07-09 Thread Thomas Jollans
On 07/09/2010 06:36 PM, King wrote: > Hi, > > The 'zipimport' modules can only import (.py & .pyc) files from a zip > file and doesn't support importing .pyd & .so files. Recently I was > examining the code of Py2Exe (python package deployment tool) and I > have found that it is using a module 'zi

Re: Zipimport leaks memory?

2009-08-21 Thread Gabriel Genellina
En Thu, 20 Aug 2009 07:02:26 -0300, ashwin.u@nokia.com escribió: We are currently trying to identify and fix all the memory leaks by just doing Py_Initialize-PyRun_SimpleFile(some simple script)-Py_Finalize and found that there are around 70 malloc-ed blocks which are not freed. One

Re: zipimport

2005-05-04 Thread Jonathan Brady
"Gabriele *Darkbard* Farina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have a zip file structured like this: > > mymodule.zip\ > module1.py > submodule\ >submodule1.py > > I tried to load submodule.submodule1 using this pice of code: > > import zipimport > >

Re: zipimport IOError reading Modules.zip in Mac standalone app

2005-03-07 Thread Just
In article <[EMAIL PROTECTED]>, "Bob Swerdlow" <[EMAIL PROTECTED]> wrote: > We have some users of our application getting error messages like: > IOError: zipimport: can not open file > /Volumes/MyApp/MyApp.app/Contents/Resources/Modules.zip > This only happens on our Mac version - the Window