def uncache_zipdir(path):
 from zipimport import _zip_directory_cache as zdc
 _uncache(path, zdc)
 _uncache(path, sys.path_importer_cache)

def uncache_zipdir ( path ) : from zipimport import _zip_directory_cache as zdc _uncache ( path , zdc ) _uncache ( path , sys . path_importer_cache )
ensure that the importer caches dont have stale info for path .