zip_open()

Read(206) Label: zip, open,

Descripition:

  Open a zip file.

Syntax:
  zip_open(zipfile:encoding,passowrd)

Note:

The external library function opens a zip file.

Parameters:

zipfile

A compressed file or a file object

encoding

Characater set, which is UTF-8 by default

passowrd

A password; can be omitted

Return value:
A zip file object

Example:

 

A

 

1

=zip_open("D:/z2.zip")

 

2

=zip_open("D:/z2.zip":"GBK","123")