A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-May/119472.html below:

[Python-Dev] zipimport to read from a file object instead of just a path?

[Python-Dev] zipimport to read from a file object instead of just a path? [Python-Dev] zipimport to read from a file object instead of just a path?Shy Shalom shooshx at gmail.com
Tue May 15 13:19:54 CEST 2012
In zipimport.c, function get_data(), the zip file is opened using fopen()
and read with CLib functions.
Did anyone ever consider making it possible to read the zipped data from a
generic file object and not just using a string path?
Using StringIO, This would allow a higher degree of python embedding in an
application.
I would be able to have a zip file in memory and make python read modules
from it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120515/5c302266/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4