a=os.path.isdir('./Kaggle/kaggle-survey')
print(a)
#change directory from working directory to directory with files
os.chdir(Directory)
b=os.getcwd()
print(b)
for f in os.listdir('./Kaggle/kaggle-survey'):
# check for ".zip" extension
if f.endswith('.zip'):
# get full path of files
filename = os.path.abspath(f)
# create zipfile object
zip_ref = ZipFile(filename)
# extract file to dir
zip_ref.extractall(Directory)
# close file
zip_ref.close()
# delete zipped file
os.remove(filename)
a=os.path.isdir('./Kaggle/kaggle-survey')你取的相对路径,换绝对路径试试