Finally figured it out.. sorry for the trouble... i'm a beginner
tzf = zipfile.ZipFile(temp_dir + "/" + files, 'r')
for fileName in tzf.namelist():
tzf.extract(fileName, outPath)
tzf.close()
Basically have to make sure I close the file..
and then the tempfile is deleted correctly
Thanks.
Jamie
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].