my_dir = 'D:\\Download'
my_zip = 'D:\\Download\\my_file.zip'
with zipfile.ZipFile(my_zip) as zip_file:
    for member in zip_file.namelist():
        filename = os.path.basename(member)
if not filename:
    continue
source = zip_file.open(member)
target = file(os.path.join(my_dir, filename), 'wb')
with source:
    with target:
        shutil.copyfileobj(source, target)
Extract files from zip without keeping the structure using python ZipFile?