> Hi Umit. I am not sure I understand very well your needs.

Hello again. Sorry for not being clear. I'll try to explain in detail:

The system I'm developing is a client server system. Both are written
in Python. Client logins to server via user entered credentials. After
that client asks server for modules by name, i.e. "Send the module
named <aaa>", and server sends the file "aaa.zip" which is a zipped
python file. (Client has a local cache system, and clever enough not
to download the module file if it has not changed on server).

When "aaa.zip" is received by the client, it saves it in a well known
location and inserts that location into sys.path:

sys.path.insert(0, 'cache/aaa.zip')

Client then imports <aaa> by __import__() builtin. This is the part
that is not working with a standalone exe. So my problem is not
knowing in advance the module to be zipimported. I hope it is a bit
clear now.

Best Regards,
Ümit Öztosun

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to