Hello, I am a new python programmer, I am trying to learn as I will be using it at work.
My question is essentially, if I wanted to retrieve the names of files in a compressed 7z directory, how would I go about this? I'm using Python 3.4, and so far my attempts at using the lzma library and the zipfile library have both failed. I believe I was at one point able to read() it into a variable or something step by step using the command line, but am a little lost after that.
I also want to do this without extracting the 7z itself, as I just want to add the names of the contained files to an object I'm creating.
Any help would greatly be appreciated, and I'm sorry if I'm missing any forum etiquette, I've never really posted to anything like this before.