Feb-07-2020, 01:51 AM
(Feb-06-2020, 11:41 PM)stullis Wrote: According to the docs, zipfile.ZipFile() expects a file, not a directory. I'd wager that's the culprit. Try creating the file first and passing that into zipfile.ZipFile().
Thanks for looking it up! I checked the documentation as well but I couldn't comprehend to the point to solve my issue.
What do you mean by creating the file first? Do you mean creating a shapefile or do you mean that I need to change the order in the script?
(Feb-06-2020, 11:52 PM)jim2007 Wrote: Is there a folder called C:\Users\username on your machine? That looks very strange in the error message you posted.
I would expect it to be C:\Users\<your login Id>\My_Dataset
Thank you, I replaced username before posting since it's my real name in there with the actual path. Do you think backwards/forwards slashes might be creating the issue here?