I have a zip archive: my_zip.zip. Inside it is one txt file, the name of which I do not know. I was taking a look at Python\'s zipfile
my_zip.zip
zipfile
What you need is ZipFile.namelist() that will give you a list of all the contents of the archive, you can then do a zip.open('filename_you_discover') to get the contents of that file.
ZipFile.namelist()
zip.open('filename_you_discover')