Reputation: 2642
If I have a zipfile.ZipFile
object, how can I determine the file path of the zip file from the object?
a = zipfile.ZipFile('C:\\path\\zipfile.zip')
a.get_file_path()
where get_file_path()
should return 'C:\\path\\zipfile.zip'
.
Upvotes: 7
Views: 6221