Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90075

Re: extracting zip item to in-memory

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: extracting zip item to in-memory
Date 2015-05-06 21:45 +0100
References <95e1cce0-18ed-477a-a265-3256b7bcb25a@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.192.1430945144.12865.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

extracting zip item to in-memory noydb <jenn.duerr@gmail.com> - 2015-05-06 13:27 -0700
  Re: extracting zip item to in-memory Dave Angel <davea@davea.name> - 2015-05-06 16:38 -0400
  Re: extracting zip item to in-memory Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-06 21:45 +0100

csiph-web