extracting zip item to in-memory

Mark Lawrence breamoreboy at yahoo.co.uk
Wed May 6 16:45:34 EDT 2015


On 06/05/2015 21:27, noydb wrote:
> I have a zip file containing several files and I want to extract out just the .xml file.  I have that code.  Curious if this xml file can be extracted into memory.  If so, how to?  I only need to move the file around, and maybe read some tags.
>
> Thanks for any help!
>
> python 2.7
>

https://docs.python.org/2/library/xml.html#module-xml

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list