Copy CodeThe code is as follows:
Class zip
{
var $datasec, $ctrl _dir = Array ();
var $eof _ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old _offset = 0; var $dirs = Array (".");
function get_list ($zip _name)
{
$zip = @fopen ($zip _name, '
Released on: 12/13/2004 | updated on: 12/13/2004
Ianier Munoz
This document assumes that you are familiar with C # And Windows Forms.
Download the code in this article:Zipcompression.exe(150kb)
Summary
When you store files or send files over the
Compression (zip), compression zip
By default, these compression tools will delete the source files (except zip files) after compression. By default, only files are compressed, but directories are not compressed (LinkPackage).
Data | Compression This article assumes that you are familiar with C # and Windows forms
Download the code for this article: ZipCompression.exe (150KB)
Summary
Using ZIP compression can save space and network bandwidth when storing files or
Transferred from: http://www.cnblogs.com/BeginMan/archive/2013/03/14/2959447.htmlThis blog post is pretty good.First, code guidanceFirst look at this section of code:1 >>> name= (' Jack ', ' Beginman ', ' Sony ', ' Pcky ') 2 >>> age= (2001,2003,2005,
definition:zip ([iterable, ...])Zip () is an intrinsic function of Python that takes a series of iterated objects as parameters, packages the corresponding elements in the object into tuple (tuples), and then returns a list of these tuples. If the
First, code guidance First look at this section of code: >>> name= (' Jack ', ' Beginman ', ' Sony ', ' Pcky ') >>> age= (2001,2003,2005,2000) >>> for a,n in zip (name,age): Print a,n 5 6 output: 7 Jack 2001 8 Beginman 2003 9 Sony 200510 Pcky 2000
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.