import zipfile
import os
flist=['january.txt','july.txt','august.txt']
with zipfile.ZipFile("logbackup.zip","r") as zf:
zf.extractall('months',members=flist)
print("List of items in the specified directory after extraction")
pth=os.path.join(os.getcwd(),'months')
for item in os.listdir(path=pth):
print(item)