Can one use Python 3.4 lzma library to initialize file_reader for a 7z file?

2015-12-08 Thread Anmol Dalmia
Hello all.

I am trying to read lines from a compressed xml file in a 7z format contained 
archive. The native lzma library of Python 3.4 allows to do so, but I am not 
sure it does so for 7z files. I explored many threads and found very 
unsatisfactory answers such as this one.

https://groups.google.com/forum/#!search/lzma$207z/linux.debian.changes.devel/3vVvPIxnMuQ/3sPm5GEBbH4J

Can anyone please clear this out to me once? Or if it doesn't, can anyone help 
on how to do it using any python or wrapped C functions?

Thanks
-- 
https://mail.python.org/mailman/listinfo/python-list


Reading lines of text from 7z compressed files in Python

2015-12-09 Thread Anmol Dalmia
Hello all.

I am trying to read a compressed xml file line by line under the 7z format.
I found an answer to a related question here:

http://stackoverflow.com/questions/20104460/how-to-read-from-a-text-file-compressed-with-7z-in-python

I wish to use the native LZMA library of Python 3.4 for faster performance
than any other third- party packages. Is it possible to do so?

Thanks
-- 
With Regards
ANMOL DALMIA
M Tech (Dual) Information Security, 2017
National Institute of Technology, Rourkela, India
-- 
https://mail.python.org/mailman/listinfo/python-list