Zitat von Shy Shalom <shooshx at gmail.com>: > 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? It's already possible - just write another importer. For the builtin zipimport, this is not an option, since it seeds itself from the sys.path entry, which will be a file name. See PEP 302. Regards, Martin
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